diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-13 11:35:31 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-13 11:35:31 +0000 |
commit | 3c84ded68a9106ac87886e173e75dd3dde33c231 (patch) | |
tree | dcc90d017e2c77b98d3753d470adfa576d36149c /libc/misc/sysvipc/ftok.c | |
parent | 4d668e00b8c42aca5662f1d65496a97a507f583f (diff) |
Convert internal users of chmod/*stat*, minimize change for __strsep
Diffstat (limited to 'libc/misc/sysvipc/ftok.c')
-rw-r--r-- | libc/misc/sysvipc/ftok.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/sysvipc/ftok.c b/libc/misc/sysvipc/ftok.c index 2bd8b2ec0..fd4021d3e 100644 --- a/libc/misc/sysvipc/ftok.c +++ b/libc/misc/sysvipc/ftok.c @@ -25,7 +25,7 @@ key_t ftok (const char *pathname, int proj_id) struct stat st; key_t key; - if (stat(pathname, &st) < 0) + if (__stat(pathname, &st) < 0) return (key_t) -1; key = ((st.st_ino & 0xffff) | ((st.st_dev & 0xff) << 16) |