diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-13 14:52:55 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-13 14:52:55 +0000 |
commit | 550be6cdb0585fb7c5ec32d583b40ab6ef5daed1 (patch) | |
tree | b5296d324fac9519cb4f9d25b8cda4766f5cdb69 /sysvipc/ftok.c | |
parent | 3bb266e0101d17db7812daef1a7fe0aaa97b7e47 (diff) | |
download | glibc-550be6cdb0585fb7c5ec32d583b40ab6ef5daed1.tar.gz |
Update.
1998-12-13 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/posix/tempname.c: Use __xstat instead of __stat.
* sysdeps/unix/grantpt.c: Likewise.
* sysdeps/unix/sysv/linux/ptsname.c: Likewise.
* sysvipc/ftok.c: Likewise.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
Diffstat (limited to 'sysvipc/ftok.c')
-rw-r--r-- | sysvipc/ftok.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysvipc/ftok.c b/sysvipc/ftok.c index aaa20ee94a..b0199acda6 100644 --- a/sysvipc/ftok.c +++ b/sysvipc/ftok.c @@ -28,7 +28,7 @@ ftok (pathname, proj_id) struct stat st; key_t key; - if (__stat (pathname, &st) < 0) + if (__xstat (_STAT_VER, pathname, &st) < 0) return (key_t) -1; key = ((st.st_ino & 0xffff) | ((st.st_dev & 0xff) << 16) |