From da8f38c5047cda3ecb9dcf2dc780572a44659778 Mon Sep 17 00:00:00 2001 From: Greg McGary Date: Thu, 27 Jul 2000 07:28:10 +0000 Subject: * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*. * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error in union init. Pass zero for ignored semnum arg to semctl. * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo. 2000-07-27 Greg McGary * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*. * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error in union init. Pass zero for ignored semnum arg to semctl. * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo. --- sysdeps/unix/sysv/linux/shmat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/sysv/linux/shmat.c b/sysdeps/unix/sysv/linux/shmat.c index 33dc016b14..dc5a848eaa 100644 --- a/sysdeps/unix/sysv/linux/shmat.c +++ b/sysdeps/unix/sysv/linux/shmat.c @@ -43,7 +43,7 @@ shmat (shmid, shmaddr, shmflg) struct shmid_ds shmds; /* It's unfortunate that we need to make another system call to get the shared memory segment length... */ - if (shmctl (shmid, ICP_STAT, &shmds) == 0) + if (shmctl (shmid, IPC_STAT, &shmds) == 0) length = shmds.shm_segsz; #endif -- cgit 1.4.1