diff options
author | 1997-08-23 21:51:53 +0000 | |
---|---|---|
committer | 1997-08-23 21:51:53 +0000 | |
commit | 703e6213a7a22c3ae01cef3f400eb5657a5929ec (patch) | |
tree | f03220992a623067c5643481a428e3b5a50e23cc | |
parent | (__srandom_r): Don't use seed 0. Use 1 in this case. (diff) | |
download | glibc-703e6213a7a22c3ae01cef3f400eb5657a5929ec.tar.xz glibc-703e6213a7a22c3ae01cef3f400eb5657a5929ec.zip |
Don't use fstat, use fxstat.
-rw-r--r-- | sysdeps/generic/dl-sysdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c index 9408e61dbf..e9fbcdf4bc 100644 --- a/sysdeps/generic/dl-sysdep.c +++ b/sysdeps/generic/dl-sysdep.c @@ -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 { |