about summary refs log tree commit diff
path: root/bits/shm.h
diff options
context:
space:
mode:
Diffstat (limited to 'bits/shm.h')
-rw-r--r--bits/shm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bits/shm.h b/bits/shm.h
index e230f81061..323f0226bf 100644
--- a/bits/shm.h
+++ b/bits/shm.h
@@ -38,11 +38,11 @@ typedef unsigned short int shmatt_t;
 /* Data structure describing a set of semaphores.  */
 struct shmid_ds
   {
-    struct ipc_perm sem_perm;		/* operation permission struct */
+    struct ipc_perm shm_perm;		/* operation permission struct */
     int shm_segsz;			/* size of segment in bytes */
-    __time_t sem_atime;			/* time of last shmat() */
-    __time_t sem_dtime;			/* time of last shmdt() */
-    __time_t sem_ctime;			/* time of last change by shmctl() */
+    __time_t shm_atime;			/* time of last shmat() */
+    __time_t shm_dtime;			/* time of last shmdt() */
+    __time_t shm_ctime;			/* time of last change by shmctl() */
     __pid_t shm_cpid;			/* pid of creator */
     __pid_t shm_lpid;			/* pid of last shmop */
     shmatt_t shm_nattch;		/* number of current attaches */