summaryrefslogtreecommitdiff
path: root/sysdeps/linux/shm_limits.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/linux/shm_limits.c')
-rw-r--r--sysdeps/linux/shm_limits.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/linux/shm_limits.c b/sysdeps/linux/shm_limits.c
index 2845fc16..a59eadef 100644
--- a/sysdeps/linux/shm_limits.c
+++ b/sysdeps/linux/shm_limits.c
@@ -27,9 +27,9 @@
#include <sys/shm.h>
static unsigned long _glibtop_sysdeps_shm_limits =
-(1L << GLIBTOP_IPC_SHMMAX) + (1L << GLIBTOP_IPC_SHMMIN) +
-(1L << GLIBTOP_IPC_SHMMNI) + (1L << GLIBTOP_IPC_SHMSEG) +
-(1L << GLIBTOP_IPC_SHMALL);
+(1L << GLIBTOP_SHM_LIMITS_SHMMAX) + (1L << GLIBTOP_SHM_LIMITS_SHMMIN) +
+(1L << GLIBTOP_SHM_LIMITS_SHMMNI) + (1L << GLIBTOP_SHM_LIMITS_SHMSEG) +
+(1L << GLIBTOP_SHM_LIMITS_SHMALL);
/* Init function. */