[libgtop] Fix msg_limits.c and sem_limits.c error message
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgtop] Fix msg_limits.c and sem_limits.c error message
- Date: Fri, 23 Apr 2021 09:47:17 +0000 (UTC)
commit 68b52696076f270e590b8627a2d2f77660f6c436
Author: ToMe25 <ToMe25 gmx de>
Date: Mon Apr 19 15:40:25 2021 +0200
Fix msg_limits.c and sem_limits.c error message
sysdeps/openbsd/msg_limits.c | 4 ++--
sysdeps/openbsd/sem_limits.c | 4 ++--
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]