=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/vmstat/vmstat.c,v retrieving revision 1.80 retrieving revision 1.81 diff -u -r1.80 -r1.81 --- src/usr.bin/vmstat/vmstat.c 2003/07/28 06:16:35 1.80 +++ src/usr.bin/vmstat/vmstat.c 2004/01/15 20:39:33 1.81 @@ -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 @@ #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 @@ 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; }