summaryrefslogtreecommitdiff
path: root/usr.bin/ipcs
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2002-06-12 06:07:18 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2002-06-12 06:07:18 +0000
commit2c5359ee4336522c89649a8e017da3fdf87fa8bd (patch)
tree60aa07e4178dd0840349fe830f118d2cb64a1c6c /usr.bin/ipcs
parentc22dc40df755f025740d14e001bb8599cf4a72c5 (diff)
a real pid_t cleanup.
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
Diffstat (limited to 'usr.bin/ipcs')
-rw-r--r--usr.bin/ipcs/ipcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ipcs/ipcs.c b/usr.bin/ipcs/ipcs.c
index 8e1ab1246af..1e727dffbab 100644
--- a/usr.bin/ipcs/ipcs.c
+++ b/usr.bin/ipcs/ipcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipcs.c,v 1.16 2001/09/28 01:44:37 millert Exp $ */
+/* $OpenBSD: ipcs.c,v 1.17 2002/06/12 06:07:15 mpech Exp $ */
/* $NetBSD: ipcs.c,v 1.25 2000/06/16 03:58:20 simonb Exp $ */
/*-
@@ -338,7 +338,7 @@ show_msginfo(time_t stime, time_t rtime, time_t ctime, int ipcid, key_t key,
printf(" %6lu", qbytes);
if (option & PID)
- printf(" %5d %5d", lspid, lrpid);
+ printf(" %5ld %5ld", (long)lspid, (long)lrpid);
if (option & TIME)
printf(" %s %s %s", stime_buf, rtime_buf, ctime_buf);