diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-09-19 23:04:36 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-09-19 23:04:38 +0200 |
commit | 2e261c246a0106f08453098d8d136eeb7c3c8cf8 (patch) | |
tree | ce15b16c8cb8425510782ffacb56870f7a607b4a | |
parent | 9cad99c3f2551146c0f6ad3ea7475e86287e28a2 (diff) |
Directly call __stat64t/sysvshm
Also avoids a plt
-rw-r--r-- | sysdeps/mach/hurd/ftok.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/ftok.c b/sysdeps/mach/hurd/ftok.c index ddd69b0dac..c2ea75f02d 100644 --- a/sysdeps/mach/hurd/ftok.c +++ b/sysdeps/mach/hurd/ftok.c @@ -31,7 +31,7 @@ ftok (const char *pathname, int proj_id) struct stat64 st; key_t key; - if (__xstat64 (_STAT_VER, pathname, &st) < 0) + if (__stat64 (pathname, &st) < 0) return (key_t) -1; key = ((st.st_dev & 0xff) | ((proj_id & 0xff) << 8) |