diff options
-rw-r--r-- | usr.bin/vmstat/vmstat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index 2dc194accaa..6adaca8d53c 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -1,5 +1,5 @@ /* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */ -/* $OpenBSD: vmstat.c,v 1.80 2003/07/28 06:16:35 tedu Exp $ */ +/* $OpenBSD: vmstat.c,v 1.81 2004/01/15 20:39:33 otto Exp $ */ /* * Copyright (c) 1980, 1986, 1991, 1993 @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)vmstat.c 8.1 (Berkeley) 6/6/93"; #else -static const char rcsid[] = "$OpenBSD: vmstat.c,v 1.80 2003/07/28 06:16:35 tedu Exp $"; +static const char rcsid[] = "$OpenBSD: vmstat.c,v 1.81 2004/01/15 20:39:33 otto Exp $"; #endif #endif /* not lint */ @@ -811,8 +811,8 @@ dointr_sysctl(void) return ; } if (cnt) - (void)printf("%-14s %12ld %8ld\n", intrname, - cnt, cnt / uptime); + (void)printf("%-14s %12d %8ld\n", intrname, + cnt, (long)cnt / uptime); inttotal += cnt; } |