summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_tc.c
diff options
context:
space:
mode:
authorkbyanc <kbyanc@FreeBSD.org>2002-06-11 19:47:44 +0000
committerkbyanc <kbyanc@FreeBSD.org>2002-06-11 19:47:44 +0000
commita46c40d9e18f668d90017ba3b702ab8aa8acea6e (patch)
tree9e60309a68cc2d62719291c92c9379253fbbcf41 /sys/kern/kern_tc.c
parentc3f3773d48397d940cc79e01897274a6eb110dbf (diff)
downloadFreeBSD-src-a46c40d9e18f668d90017ba3b702ab8aa8acea6e.zip
FreeBSD-src-a46c40d9e18f668d90017ba3b702ab8aa8acea6e.tar.gz
Time counter stats are unsigned, advertise them to sysctl(8) that way.
PR: (one small part of) 19720 Approved by: phk
Diffstat (limited to 'sys/kern/kern_tc.c')
-rw-r--r--sys/kern/kern_tc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c
index 9c2ed27..fabc204 100644
--- a/sys/kern/kern_tc.c
+++ b/sys/kern/kern_tc.c
@@ -88,7 +88,7 @@ SYSCTL_NODE(_kern, OID_AUTO, timecounter, CTLFLAG_RW, 0, "");
#define TC_STATS(foo) \
static u_int foo; \
- SYSCTL_INT(_kern_timecounter, OID_AUTO, foo, CTLFLAG_RD, &foo, 0, "") \
+ SYSCTL_UINT(_kern_timecounter, OID_AUTO, foo, CTLFLAG_RD, &foo, 0, "") \
struct __hack
TC_STATS(nbinuptime); TC_STATS(nnanouptime); TC_STATS(nmicrouptime);
OpenPOWER on IntegriCloud