diff options
Diffstat (limited to 'src/ipc/semctl.c')
-rw-r--r-- | src/ipc/semctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/semctl.c b/src/ipc/semctl.c index df05ec74..a210e20b 100644 --- a/src/ipc/semctl.c +++ b/src/ipc/semctl.c @@ -11,7 +11,7 @@ int semctl(int id, int num, int cmd, ...) arg = va_arg(ap, long); va_end(ap); #ifdef SYS_semctl - return syscall(SYS_semctl, id, num, cmd, arg); + return syscall(SYS_semctl, id, num, cmd | 0x100, arg); #else return syscall(SYS_ipc, IPCOP_semctl, id, num, cmd | 0x100, &arg); #endif |