diff options
Diffstat (limited to 'io/stat.c')
-rw-r--r-- | io/stat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/io/stat.c b/io/stat.c index 78dbfb3b8f..9c0a8b0baf 100644 --- a/io/stat.c +++ b/io/stat.c @@ -17,11 +17,10 @@ #include <sys/stat.h> -#undef __stat int __stat (const char *file, struct stat *buf) { - return __xstat (_STAT_VER, file, buf); + return __fstatat (AT_FDCWD, file, buf, 0); } weak_alias (__stat, stat) |