diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/shmat.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/shmat.c | 2 |
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 |