Module Name:    src
Committed By:   msaitoh
Date:           Mon Dec  1 04:02:40 UTC 2014

Modified Files:
        src/sys/uvm: uvm_meter.c

Log Message:
 Fix a bug that "vmstat -s" print uvmexp.ncolors incorrectly.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/uvm/uvm_meter.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/uvm/uvm_meter.c
diff -u src/sys/uvm/uvm_meter.c:1.63 src/sys/uvm/uvm_meter.c:1.64
--- src/sys/uvm/uvm_meter.c:1.63	Wed Feb 26 20:33:53 2014
+++ src/sys/uvm/uvm_meter.c	Mon Dec  1 04:02:40 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_meter.c,v 1.63 2014/02/26 20:33:53 martin Exp $	*/
+/*	$NetBSD: uvm_meter.c,v 1.64 2014/12/01 04:02:40 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_meter.c,v 1.63 2014/02/26 20:33:53 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_meter.c,v 1.64 2014/12/01 04:02:40 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -174,6 +174,7 @@ sysctl_vm_uvmexp2(SYSCTLFN_ARGS)
 	u.execpages = uvmexp.execpages;
 	u.colorhit = uvmexp.colorhit;
 	u.colormiss = uvmexp.colormiss;
+	u.ncolors = uvmexp.ncolors;
 	u.cpuhit = uvmexp.cpuhit;
 	u.cpumiss = uvmexp.cpumiss;
 

Reply via email to