]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Don't use fstat, use fxstat.
authorUlrich Drepper <drepper@redhat.com>
Sat, 23 Aug 1997 21:51:53 +0000 (21:51 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 23 Aug 1997 21:51:53 +0000 (21:51 +0000)
sysdeps/generic/dl-sysdep.c

index 9408e61dbf79ff75cf9f8b4bec2f2a76c8813821..e9fbcdf4bce49733bba1e82715cb1eaae52bfc96 100644 (file)
@@ -154,7 +154,7 @@ _dl_sysdep_read_whole_file (const char *file, size_t *sizep, int prot)
   int fd = __open (file, O_RDONLY);
   if (fd < 0)
     return NULL;
-  if (__fstat (fd, &st) < 0)
+  if (__fxstat (_STAT_VER, fd, &st) < 0)
     result = NULL;
   else
     {