From 5beb80eca3d19bd026ffed20ccb272f892fc040c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 12 May 2002 00:26:48 +0000 Subject: Fix this one up so it works --- libc/misc/sysvipc/shm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/misc') diff --git a/libc/misc/sysvipc/shm.c b/libc/misc/sysvipc/shm.c index 3ac7e366b..7ac7d35b0 100644 --- a/libc/misc/sysvipc/shm.c +++ b/libc/misc/sysvipc/shm.c @@ -28,10 +28,10 @@ segment of the calling process. SHMADDR and SHMFLG determine how and where the segment is attached. */ #if defined (__alpha__) -#define __NR_osf_shmat __NR_shmat +#define __NR_shmat __NR_osf_shmat #endif #ifdef __NR_shmat -_syscall3(void *, shmat, int shmid, const void *shmaddr, int shmflg); +_syscall3(void *, shmat, int, shmid, const void *,shmaddr, int, shmflg); #else void * shmat (int shmid, const void *shmaddr, int shmflg) { @@ -75,7 +75,7 @@ int shmdt (const void *shmaddr) /* Return an identifier for an shared memory segment of at least size SIZE which is associated with KEY. */ #ifdef __NR_shmget -_syscall1(int, shmget, key_t, key, size_t, size, int, shmflg); +_syscall3(int, shmget, key_t, key, size_t, size, int, shmflg); #else int shmget (key_t key, size_t size, int shmflg) { -- cgit v1.2.3