Module Name: src
Committed By: mlelstv
Date: Sat Feb 5 13:12:07 UTC 2011
Modified Files:
src/usr.bin/vmstat: vmstat.c
Log Message:
dosum also needs getnlist
To generate a diff of this commit:
cvs rdiff -u -r1.178 -r1.179 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.178 src/usr.bin/vmstat/vmstat.c:1.179
--- src/usr.bin/vmstat/vmstat.c:1.178 Mon Jan 31 19:41:19 2011
+++ src/usr.bin/vmstat/vmstat.c Sat Feb 5 13:12:07 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: vmstat.c,v 1.178 2011/01/31 19:41:19 christos Exp $ */
+/* $NetBSD: vmstat.c,v 1.179 2011/02/05 13:12:07 mlelstv 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.178 2011/01/31 19:41:19 christos Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.179 2011/02/05 13:12:07 mlelstv Exp $");
#endif
#endif /* not lint */
@@ -866,6 +866,8 @@
int active_kernel;
struct cpu_counter cc;
+ getnlist(INTRSTAT);
+
/*
* The "active" and "inactive" variables
* are now estimated by the kernel and sadly