Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/vmstat dosum also needs getnlist



details:   https://anonhg.NetBSD.org/src/rev/c946eaa134e4
branches:  trunk
changeset: 761684:c946eaa134e4
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sat Feb 05 13:12:07 2011 +0000

description:
dosum also needs getnlist

diffstat:

 usr.bin/vmstat/vmstat.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 2d0c30a12c7b -r c946eaa134e4 usr.bin/vmstat/vmstat.c
--- a/usr.bin/vmstat/vmstat.c   Sat Feb 05 12:38:19 2011 +0000
+++ b/usr.bin/vmstat/vmstat.c   Sat Feb 05 13:12:07 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index