summaryrefslogtreecommitdiffstats
path: root/libc/misc/dirent
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-13 11:35:31 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-13 11:35:31 +0000
commit3c84ded68a9106ac87886e173e75dd3dde33c231 (patch)
treedcc90d017e2c77b98d3753d470adfa576d36149c /libc/misc/dirent
parent4d668e00b8c42aca5662f1d65496a97a507f583f (diff)
downloaduClibc-alpine-3c84ded68a9106ac87886e173e75dd3dde33c231.tar.bz2
uClibc-alpine-3c84ded68a9106ac87886e173e75dd3dde33c231.tar.xz
Convert internal users of chmod/*stat*, minimize change for __strsep
Diffstat (limited to 'libc/misc/dirent')
-rw-r--r--libc/misc/dirent/opendir.c2
1 files changed, 1 insertions, 1 deletions
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);