summaryrefslogtreecommitdiff
path: root/sysdeps/openbsd/sem_limits.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/openbsd/sem_limits.c')
-rw-r--r--sysdeps/openbsd/sem_limits.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/openbsd/sem_limits.c b/sysdeps/openbsd/sem_limits.c
index 12e88ff0..b68e41b9 100644
--- a/sysdeps/openbsd/sem_limits.c
+++ b/sysdeps/openbsd/sem_limits.c
@@ -60,12 +60,12 @@ _glibtop_init_sem_limits_p (glibtop *server)
mib[2] = KERN_SYSVIPC_SEM_INFO;
if ((semsi = malloc(len)) == NULL) {
- glibtop_warn_io_r (server, "malloc (shm_limits)");
+ glibtop_warn_io_r (server, "malloc (sem_limits)");
return;
}
if (sysctl(mib, 3, semsi, &len, NULL, 0) < 0) {
- glibtop_warn_io_r (server, "sysctl (shm_limits)");
+ glibtop_warn_io_r (server, "sysctl (sem_limits)");
return;
}