From 8caf9db03c4ac8c35ce3e59c9102750ba5cf5d3e Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 19 Dec 1998 17:04:11 +0000 Subject: [PATCH] portability in printf args. --- usr.bin/ipcrm/ipcrm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/ipcrm/ipcrm.c b/usr.bin/ipcrm/ipcrm.c index 694ed5697338..5e6adbee271a 100644 --- a/usr.bin/ipcrm/ipcrm.c +++ b/usr.bin/ipcrm/ipcrm.c @@ -1,4 +1,4 @@ -/* $NetBSD: ipcrm.c,v 1.6 1997/09/09 11:06:31 drochner Exp $ */ +/* $NetBSD: ipcrm.c,v 1.7 1998/12/19 17:04:11 christos Exp $ */ /* * Copyright (c) 1994 Adam Glass @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $NetBSD: ipcrm.c,v 1.6 1997/09/09 11:06:31 drochner Exp $ + * $NetBSD: ipcrm.c,v 1.7 1998/12/19 17:04:11 christos Exp $ */ #include @@ -158,7 +158,7 @@ int main(argc, argv) if (result < 0) { errflg++; if (!signaled) - warn("%skey(%ld): ", IPC_TO_STR(c), target_key); + warn("%skey(%ld): ", IPC_TO_STR(c), (long) target_key); else warnx("%ss are not configured in the running kernel", IPC_TO_STRING(c));