From 3c84ded68a9106ac87886e173e75dd3dde33c231 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 13 Dec 2005 11:35:31 +0000 Subject: Convert internal users of chmod/*stat*, minimize change for __strsep --- libc/misc/dirent/opendir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/misc/dirent') diff --git a/libc/misc/dirent/opendir.c b/libc/misc/dirent/opendir.c index 5c9762f85..efa6daba6 100644 --- a/libc/misc/dirent/opendir.c +++ b/libc/misc/dirent/opendir.c @@ -18,7 +18,7 @@ DIR attribute_hidden *__opendir(const char *name) char *buf; DIR *ptr; - if (stat(name, &statbuf)) + if (__stat(name, &statbuf)) return NULL; if (!S_ISDIR(statbuf.st_mode)) { __set_errno(ENOTDIR); -- cgit v1.2.3