aboutsummaryrefslogtreecommitdiff
path: root/io/fstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/fstat.c')
-rw-r--r--io/fstat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/io/fstat.c b/io/fstat.c
index c392ebe..065e6f8 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)