diff options
Diffstat (limited to 'io/fstat.c')
-rw-r--r-- | io/fstat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/io/fstat.c b/io/fstat.c index c392ebe35b..065e6f8f68 100644 --- a/io/fstat.c +++ b/io/fstat.c @@ -17,11 +17,10 @@ #include <sys/stat.h> -#undef __fstat int __fstat (int fd, struct stat *buf) { - return __fxstat (_STAT_VER, fd, buf); + return __fstatat (fd, "", buf, AT_EMPTY_PATH); } weak_alias (__fstat, fstat) |