Date: Sat, 11 Jan 2003 07:35:56 -0500 From: Hiten Pandya <hiten@unixdaemons.com> To: Maxime Henrion <mux@FreeBSD.ORG> Cc: Matt Dillon <dillon@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/sysctl sysctl.c src/sys/vm vm_meter.c vm_param.h src/usr.bin/systat vmstat.c src/usr.bin/vmstat vmstat.c Message-ID: <20030111123556.GA5277@unixdaemons.com> In-Reply-To: <20030111115116.GA16775@elvis.mu.org> References: <200301110729.h0B7Tlr1004462@repoman.freebsd.org> <20030111115116.GA16775@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 11, 2003 at 03:51:16AM -0800, Maxime Henrion wrote the words in effect of: > Matt Dillon wrote: > > dillon 2003/01/10 23:29:47 PST > > > > Modified files: > > sbin/sysctl sysctl.c > > sys/vm vm_meter.c vm_param.h > > usr.bin/systat vmstat.c > > usr.bin/vmstat vmstat.c > > Log: > > Make 'sysctl vm.vmtotal' work properly using updated patch from Hiten. > > (the patch in the PR was stale). > > Was this commit tested ? It breaks the build of the kernel. Can you > please fix this ? > Not to worry! Hiten to Rescue. ;-) Index: kern_sysctl.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_sysctl.c,v retrieving revision 1.135 diff -u -r1.135 kern_sysctl.c --- kern_sysctl.c 2002/10/27 07:12:34 1.135 +++ kern_sysctl.c 2003/01/11 12:17:17 @@ -1390,7 +1390,7 @@ case KINFO_METER: name[0] = CTL_VM; - name[1] = VM_METER; + name[1] = VM_TOTAL; error = userland_sysctl(td, name, 2, uap->where, uap->size, 0, 0, 0, &size); break; Apologies. -- Hiten Pandya (hiten@unixdaemons.com, hiten@uk.FreeBSD.org) http://www.unixdaemons.com/~hiten/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030111123556.GA5277>