summaryrefslogtreecommitdiffstats
path: root/sys-utils/ipcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/ipcs.c')
-rw-r--r--sys-utils/ipcs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-utils/ipcs.c b/sys-utils/ipcs.c
index 8ed5698dd..9ce536612 100644
--- a/sys-utils/ipcs.c
+++ b/sys-utils/ipcs.c
@@ -461,8 +461,10 @@ static void do_msg (char format, int unit)
return;
}
printf (_("------ Messages Status --------\n"));
+#ifndef __FreeBSD_kernel__
printf (_("allocated queues = %d\n"), msginfo.msgpool);
printf (_("used headers = %d\n"), msginfo.msgmap);
+#endif
ipc_print_size(unit, _("used space"), msginfo.msgtql,
unit == IPC_UNIT_DEFAULT ? _(" bytes\n") : "\n", 0);
return;