From f3c41bf8b6dbc12644d2ff38e6f316f2d6a2066e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 30 May 2002 00:41:03 +0000 Subject: Cope with systems that don't glob all these together, but use separate syscalls. -Erik --- libc/misc/sysvipc/shm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/misc/sysvipc/shm.c') 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) { -- cgit v1.2.3