summaryrefslogtreecommitdiff
path: root/libc/misc/sysvipc/shm.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-05-30 00:41:03 +0000
committerEric Andersen <andersen@codepoet.org>2002-05-30 00:41:03 +0000
commitf3c41bf8b6dbc12644d2ff38e6f316f2d6a2066e (patch)
tree34b09666fddafd01960c3c6dc1306dbb302a8a91 /libc/misc/sysvipc/shm.c
parent40c106e3aeef2aed7e404626b8d4f7358aec040f (diff)
Cope with systems that don't glob all these together, but use
separate syscalls. -Erik
Diffstat (limited to 'libc/misc/sysvipc/shm.c')
-rw-r--r--libc/misc/sysvipc/shm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/sysvipc/shm.c b/libc/misc/sysvipc/shm.c
index 7ac7d35b0..553c1203e 100644
--- a/libc/misc/sysvipc/shm.c
+++ b/libc/misc/sysvipc/shm.c
@@ -47,8 +47,8 @@ void * shmat (int shmid, const void *shmaddr, int shmflg)
#ifdef L_shmctl
/* Provide operations to control over shared memory segments. */
-#ifdef __NR_shctl
-_syscall3(int, shmctl, int shmid, int, cmd, struct shmid_ds *, buf);
+#ifdef __NR_shmctl
+_syscall3(int, shmctl, int, shmid, int, cmd, struct shmid_ds *, buf);
#else
int shmctl (int shmid, int cmd, struct shmid_ds *buf)
{