All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Henriksson <andreas@fatal.se>
To: util-linux@vger.kernel.org
Cc: Aurelien Jarno <aurel32@debian.org>, LaMont Jones <lamont@debian.org>
Subject: [PATCH 2/4] remaining kFreeBSD hackery for building.
Date: Sun, 24 Aug 2014 18:04:42 +0200	[thread overview]
Message-ID: <1408896284-14467-3-git-send-email-andreas@fatal.se> (raw)
In-Reply-To: <1408896284-14467-1-git-send-email-andreas@fatal.se>

From: Aurelien Jarno <aurel32@debian.org>

Addresses-Debian-Bug: #527384
Signed-off-by: LaMont Jones <lamont@debian.org>
---
 sys-utils/ipcs.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-utils/ipcs.c b/sys-utils/ipcs.c
index 8ed5698..9ce5366 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;
-- 
2.1.0.rc1


  parent reply	other threads:[~2014-08-24 16:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-24 16:04 [PATCH 0/4] Patches for kFreeBSD support from Debian Andreas Henriksson
2014-08-24 16:04 ` [PATCH 1/4] Report correct disk size on GNU/kFreeBSD. Thanks Tuco Andreas Henriksson
2014-08-24 16:04 ` Andreas Henriksson [this message]
2014-08-24 16:04 ` [PATCH 3/4] Fixing FTBFS on !linux (Debian util-linux 2.20.1-1.2) Andreas Henriksson
2014-08-24 16:04 ` [PATCH 4/4] kFreeBSD: add hacks in ipcrm to avoid FTBFS Andreas Henriksson
2014-09-17  9:00 ` [PATCH 0/4] Patches for kFreeBSD support from Debian Karel Zak
2014-09-17 14:43   ` Andreas Henriksson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1408896284-14467-3-git-send-email-andreas@fatal.se \
    --to=andreas@fatal.se \
    --cc=aurel32@debian.org \
    --cc=lamont@debian.org \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.