about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/glob64.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/glob64.c')
-rw-r--r--sysdeps/unix/sysv/linux/glob64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/glob64.c b/sysdeps/unix/sysv/linux/glob64.c
index e5c506b435..7fb4654b8b 100644
--- a/sysdeps/unix/sysv/linux/glob64.c
+++ b/sysdeps/unix/sysv/linux/glob64.c
@@ -13,7 +13,7 @@
 #undef stat
 #define stat stat64
 #undef __stat
-#define __stat(file, buf) stat64 (file, buf)
+#define __stat(file, buf) __xstat64 (_STAT_VER, file, buf)
 
 #define NO_GLOB_PATTERN_P 1