Module Name:    src
Committed By:   joerg
Date:           Tue Jun  3 21:56:30 UTC 2014

Modified Files:
        src/usr.bin/vmstat: vmstat.c

Log Message:
GC left-over kread.


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 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.198 src/usr.bin/vmstat/vmstat.c:1.199
--- src/usr.bin/vmstat/vmstat.c:1.198	Tue Jun  3 21:56:03 2014
+++ src/usr.bin/vmstat/vmstat.c	Tue Jun  3 21:56:30 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: vmstat.c,v 1.198 2014/06/03 21:56:03 joerg Exp $ */
+/* $NetBSD: vmstat.c,v 1.199 2014/06/03 21:56:30 joerg Exp $ */
 
 /*-
  * Copyright (c) 1998, 2000, 2001, 2007 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19
 #if 0
 static char sccsid[] = "@(#)vmstat.c	8.2 (Berkeley) 3/1/95";
 #else
-__RCSID("$NetBSD: vmstat.c,v 1.198 2014/06/03 21:56:03 joerg Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.199 2014/06/03 21:56:30 joerg Exp $");
 #endif
 #endif /* not lint */
 
@@ -1097,7 +1097,6 @@ dosum(void)
 void
 doforkst(void)
 {
-	kread(namelist, X_UVMEXP, &uvmexp, sizeof(uvmexp));
 	if (memf != NULL) {
 		struct uvmexp uvmexp_kernel;
 		kread(namelist, X_UVMEXP, &uvmexp_kernel, sizeof(uvmexp_kernel));

Reply via email to