Module Name: src
Committed By: matt
Date: Mon Jan 31 18:56:04 UTC 2011
Modified Files:
src/usr.bin/vmstat: vmstat.c
Log Message:
Make sure to getnlist in dovmstat
To generate a diff of this commit:
cvs rdiff -u -r1.176 -r1.177 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.176 src/usr.bin/vmstat/vmstat.c:1.177
--- src/usr.bin/vmstat/vmstat.c:1.176 Sat Jan 29 18:10:08 2011
+++ src/usr.bin/vmstat/vmstat.c Mon Jan 31 18:56:04 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: vmstat.c,v 1.176 2011/01/29 18:10:08 matt Exp $ */
+/* $NetBSD: vmstat.c,v 1.177 2011/01/31 18:56:04 matt 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.176 2011/01/29 18:10:08 matt Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.177 2011/01/31 18:56:04 matt Exp $");
#endif
#endif /* not lint */
@@ -730,6 +730,7 @@
int pagesize = getpagesize();
int ovflw;
+ getnlist(VMSTAT);
uptime = getuptime();
halfuptime = uptime / 2;
(void)signal(SIGCONT, needhdr);