Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/vmstat GC left-over kread.
details: https://anonhg.NetBSD.org/src/rev/c2cc968033e9
branches: trunk
changeset: 796451:c2cc968033e9
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Jun 03 21:56:30 2014 +0000
description:
GC left-over kread.
diffstat:
usr.bin/vmstat/vmstat.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 08b73ec84773 -r c2cc968033e9 usr.bin/vmstat/vmstat.c
--- a/usr.bin/vmstat/vmstat.c Tue Jun 03 21:56:03 2014 +0000
+++ b/usr.bin/vmstat/vmstat.c Tue Jun 03 21:56:30 2014 +0000
@@ -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 @@
#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 @@
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));
Home |
Main Index |
Thread Index |
Old Index