From owner-cvs-all Sat Dec 2 12: 8:37 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 88F5537B400; Sat, 2 Dec 2000 12:08:34 -0800 (PST) Received: (from gallatin@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eB2K8Yi98946; Sat, 2 Dec 2000 12:08:34 -0800 (PST) (envelope-from gallatin) Message-Id: <200012022008.eB2K8Yi98946@freefall.freebsd.org> From: Andrew Gallatin Date: Sat, 2 Dec 2000 12:08:34 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_subr.c src/usr.bin/systat vmstat.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG gallatin 2000/12/02 12:08:34 PST Modified files: sys/kern vfs_subr.c usr.bin/systat vmstat.c Log: Correct int/long type mismatch in the proper place this time. freevnodes and numvnodes are longs in the kernel. They should remain longs in systat, what really needs to change is that they should be using SYSCTL_LONG rather than SYSCTL_INT. I also changed wantfreevnodes to SYSCTL_LONG because I happened to notice it. I wish there was a way to find all of these automatically.. Pointed out by: bde Revision Changes Path 1.294 +4 -4 src/sys/kern/vfs_subr.c 1.43 +3 -3 src/usr.bin/systat/vmstat.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message