projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sysvipc: overhaul {sem,shm,msg}ctl for time64
[musl]
/
src
/
ipc
/
ftok.c
diff --git
a/src/ipc/ftok.c
b/src/ipc/ftok.c
index
cd6002e
..
c36b4b6
100644
(file)
--- a/
src/ipc/ftok.c
+++ b/
src/ipc/ftok.c
@@
-6,5
+6,5
@@
key_t ftok(const char *path, int id)
struct stat st;
if (stat(path, &st) < 0) return -1;
- return ((st.st_ino & 0xffff) | ((st.st_dev & 0xff) << 16) | ((id & 0xff) << 24));
+ return ((st.st_ino & 0xffff) | ((st.st_dev & 0xff) << 16) | ((id & 0xff
u
) << 24));
}