aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/oldglob.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/oldglob.c')
-rw-r--r--sysdeps/unix/sysv/linux/oldglob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/oldglob.c b/sysdeps/unix/sysv/linux/oldglob.c
index a034c2d..59bf89d 100644
--- a/sysdeps/unix/sysv/linux/oldglob.c
+++ b/sysdeps/unix/sysv/linux/oldglob.c
@@ -31,7 +31,7 @@ libc_hidden_proto (__old_glob64);
#undef stat
#define stat stat64
#undef __stat
-#define __stat(file, buf) __xstat64 (_STAT_VER, file, buf)
+#define __stat(file, buf) __stat64 (file, buf)
/* Avoid calling gl_lstat with GLOB_ALTDIRFUNC. */
#define GLOB_NO_LSTAT