diff options
Diffstat (limited to 'io/openat64.c')
-rw-r--r-- | io/openat64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io/openat64.c b/io/openat64.c index b66979c..a4bb188 100644 --- a/io/openat64.c +++ b/io/openat64.c @@ -40,7 +40,7 @@ __openat64 (int fd, const char *file, int oflag, ...) { /* Check FD is associated with a directory. */ struct stat64 st; - if (__fxstat64 (_STAT_VER, fd, &st) != 0) + if (__fstat64 (fd, &st) != 0) return -1; if (!S_ISDIR (st.st_mode)) |