aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_mib.c
diff options
context:
space:
mode:
authorMatthew D Fleming <mdf@FreeBSD.org>2011-01-12 19:54:19 +0000
committerMatthew D Fleming <mdf@FreeBSD.org>2011-01-12 19:54:19 +0000
commitfbbb13f962e52bf547c5a901fe6fbc4390f6be54 (patch)
tree9d6d1197b3a2cec7041211531dd927ad547788ce /sys/kern/kern_mib.c
parent123d2cb7e93fe24ee075a1e3b52ba42bfeff8862 (diff)
downloadsrc-fbbb13f962e52bf547c5a901fe6fbc4390f6be54.tar.gz
src-fbbb13f962e52bf547c5a901fe6fbc4390f6be54.zip
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the kernel changes.
Notes
Notes: svn path=/head/; revision=217326
Diffstat (limited to 'sys/kern/kern_mib.c')
-rw-r--r--sys/kern/kern_mib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c
index e31daf7342d4..f829551fcce0 100644
--- a/sys/kern/kern_mib.c
+++ b/sys/kern/kern_mib.c
@@ -203,7 +203,7 @@ sysctl_hw_usermem(SYSCTL_HANDLER_ARGS)
SYSCTL_PROC(_hw, HW_USERMEM, usermem, CTLTYPE_ULONG | CTLFLAG_RD,
0, 0, sysctl_hw_usermem, "LU", "");
-SYSCTL_ULONG(_hw, OID_AUTO, availpages, CTLFLAG_RD, &physmem, 0, "");
+SYSCTL_LONG(_hw, OID_AUTO, availpages, CTLFLAG_RD, &physmem, 0, "");
u_long pagesizes[MAXPAGESIZES] = { PAGE_SIZE };