summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/openbsd/msg_limits.c4
-rw-r--r--sysdeps/openbsd/sem_limits.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/openbsd/msg_limits.c b/sysdeps/openbsd/msg_limits.c
index 840d75e2..63af68f3 100644
--- a/sysdeps/openbsd/msg_limits.c
+++ b/sysdeps/openbsd/msg_limits.c
@@ -62,12 +62,12 @@ _glibtop_init_msg_limits_p (glibtop *server)
mib[2] = KERN_SYSVIPC_MSG_INFO;
if ((msgsi = malloc(len)) == NULL) {
- glibtop_warn_io_r (server, "malloc (shm_limits)");
+ glibtop_warn_io_r (server, "malloc (msg_limits)");
return;
}
if (sysctl(mib, 3, msgsi, &len, NULL, 0) < 0) {
- glibtop_warn_io_r (server, "sysctl (shm_limits)");
+ glibtop_warn_io_r (server, "sysctl (msg_limits)");
return;
}
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;
}