aboutsummaryrefslogtreecommitdiff
path: root/sysvipc/ftok.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysvipc/ftok.c')
-rw-r--r--sysvipc/ftok.c2
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)