summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_kobj.c
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2011-01-12 19:54:19 +0000
committermdf <mdf@FreeBSD.org>2011-01-12 19:54:19 +0000
commitf6a71a40b2504dd316580a282777fc25cc857800 (patch)
tree9d6d1197b3a2cec7041211531dd927ad547788ce /sys/kern/subr_kobj.c
parent536d58a251b1ba1915a1b29f23d1f9b221352d4a (diff)
downloadFreeBSD-src-f6a71a40b2504dd316580a282777fc25cc857800.zip
FreeBSD-src-f6a71a40b2504dd316580a282777fc25cc857800.tar.gz
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the kernel changes.
Diffstat (limited to 'sys/kern/subr_kobj.c')
-rw-r--r--sys/kern/subr_kobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_kobj.c b/sys/kern/subr_kobj.c
index 03bf35f..4ee7182 100644
--- a/sys/kern/subr_kobj.c
+++ b/sys/kern/subr_kobj.c
@@ -73,7 +73,7 @@ static int kobj_next_id = 1;
#define KOBJ_UNLOCK() if (kobj_mutex_inited) mtx_unlock(&kobj_mtx);
#define KOBJ_ASSERT(what) if (kobj_mutex_inited) mtx_assert(&kobj_mtx,what);
-SYSCTL_UINT(_kern, OID_AUTO, kobj_methodcount, CTLFLAG_RD,
+SYSCTL_INT(_kern, OID_AUTO, kobj_methodcount, CTLFLAG_RD,
&kobj_next_id, 0, "");
static void
OpenPOWER on IntegriCloud