diff options
Diffstat (limited to 'io/lstat64.c')
-rw-r--r-- | io/lstat64.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/io/lstat64.c b/io/lstat64.c index 0e571f6075..d244e793b2 100644 --- a/io/lstat64.c +++ b/io/lstat64.c @@ -17,11 +17,10 @@ #include <sys/stat.h> -#undef __lstat64 int __lstat64 (const char *file, struct stat64 *buf) { - return __lxstat64 (_STAT_VER, file, buf); + return __fstatat64 (AT_FDCWD, file, buf, AT_SYMLINK_NOFOLLOW); } hidden_def (__lstat64) weak_alias (__lstat64, lstat64) |