diff options
Diffstat (limited to 'sysvipc')
-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 aaa20ee..b0199ac 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) |