author | Szabolcs Nagy <nsz@port70.net> | 2019年05月09日 22:49:28 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019年07月01日 14:17:59 -0400 |
commit | 4acfc287d859bc643c9f9fa63d82e8c90b984d7c (patch) | |
tree | 21ca5531740752becb7a0927339c8c995db45c0a /src/ipc/shmctl.c | |
parent | b574de5bf3baeb9f1a54b4c05660830e36e5fca2 (diff) | |
download | musl-4acfc287d859bc643c9f9fa63d82e8c90b984d7c.tar.gz |
-rw-r--r-- | src/ipc/shmctl.c | 2 |
diff --git a/src/ipc/shmctl.c b/src/ipc/shmctl.c index c951a581..c2b2bb0d 100644 --- a/src/ipc/shmctl.c +++ b/src/ipc/shmctl.c @@ -17,7 +17,7 @@ int shmctl(int id, int cmd, struct shmid_ds *buf) buf = &tmp; } #endif -#ifdef SYS_shmctl +#ifndef SYS_ipc int r = __syscall(SYS_shmctl, id, cmd | IPC_64, buf); #else int r = __syscall(SYS_ipc, IPCOP_shmctl, id, cmd | IPC_64, 0, buf, 0); |