summaryrefslogtreecommitdiff
path: root/usr.bin/vmstat/vmstat.c
diff options
context:
space:
mode:
authormlelstv <mlelstv@NetBSD.org>2011-02-05 13:12:07 +0000
committermlelstv <mlelstv@NetBSD.org>2011-02-05 13:12:07 +0000
commitbc3271f4fa262d4f83ee8ca5b78c9cc7ba2b397f (patch)
treeee07f59f7befd3f918d6211ef0c0f0a6456a7f46 /usr.bin/vmstat/vmstat.c
parent0ec9ceec04533da284422070d163ec25e52b65f2 (diff)
dosum also needs getnlist
Diffstat (limited to 'usr.bin/vmstat/vmstat.c')
-rw-r--r--usr.bin/vmstat/vmstat.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 8dd47421fbf..6115df36872 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1986, 1991, 1993\
#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 @@ dosum(void)
int active_kernel;
struct cpu_counter cc;
+ getnlist(INTRSTAT);
+
/*
* The "active" and "inactive" variables
* are now estimated by the kernel and sadly