about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/shmat.c
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>2000-07-27 07:28:10 +0000
committerGreg McGary <greg@mcgary.org>2000-07-27 07:28:10 +0000
commitda8f38c5047cda3ecb9dcf2dc780572a44659778 (patch)
treefb1b643fb09e85bd7efbc15b5ac2ea81785dba39 /sysdeps/unix/sysv/linux/shmat.c
parentd25c879dc55dcc6a477fdce1c75382afec7596b8 (diff)
downloadglibc-da8f38c5047cda3ecb9dcf2dc780572a44659778.tar.gz
glibc-da8f38c5047cda3ecb9dcf2dc780572a44659778.tar.xz
glibc-da8f38c5047cda3ecb9dcf2dc780572a44659778.zip
* 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  <greg@mcgary.org>

	* 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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/shmat.c')
-rw-r--r--sysdeps/unix/sysv/linux/shmat.c2
1 files changed, 1 insertions, 1 deletions
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