summaryrefslogtreecommitdiff
path: root/sysdeps/openbsd/msg_limits.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/openbsd/msg_limits.c')
-rw-r--r--sysdeps/openbsd/msg_limits.c4
1 files changed, 2 insertions, 2 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;
}