Module Name: src
Committed By: pooka
Date: Wed Jul 7 11:42:18 UTC 2010
Modified Files:
src/usr.bin/vmstat: vmstat.c
Log Message:
Make "i" unsigned to mirror change to struct uvm_history
To generate a diff of this commit:
cvs rdiff -u -r1.168 -r1.169 src/usr.bin/vmstat/vmstat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/vmstat/vmstat.c
diff -u src/usr.bin/vmstat/vmstat.c:1.168 src/usr.bin/vmstat/vmstat.c:1.169
--- src/usr.bin/vmstat/vmstat.c:1.168 Mon Apr 5 08:03:42 2010
+++ src/usr.bin/vmstat/vmstat.c Wed Jul 7 11:42:18 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: vmstat.c,v 1.168 2010/04/05 08:03:42 he Exp $ */
+/* $NetBSD: vmstat.c,v 1.169 2010/07/07 11:42:18 pooka Exp $ */
/*-
* Copyright (c) 1998, 2000, 2001, 2007 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
#if 0
static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 3/1/95";
#else
-__RCSID("$NetBSD: vmstat.c,v 1.168 2010/04/05 08:03:42 he Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.169 2010/07/07 11:42:18 pooka Exp $");
#endif
#endif /* not lint */
@@ -1671,7 +1671,7 @@
size_t histsize;
char *fmt = NULL, *fn = NULL;
size_t fmtlen = 0, fnlen = 0;
- int i;
+ unsigned i;
histsize = sizeof(struct uvm_history_ent) * histp->n;