Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149185970
D49584.1789644662.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D49584.1789644662.diff
View Options
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h
--- a/sys/sys/sysctl.h
+++ b/sys/sys/sysctl.h
@@ -864,7 +864,7 @@
/* OID expressing a sbintime_t as microseconds */
#define SYSCTL_SBINTIME_USEC(parent, nbr, name, access, ptr, descr) \
SYSCTL_OID(parent, nbr, name, \
- CTLTYPE_INT | CTLFLAG_MPSAFE | CTLFLAG_RD | (access), \
+ CTLTYPE_S64 | CTLFLAG_MPSAFE | CTLFLAG_RD | (access), \
(ptr), 0, sysctl_usec_to_sbintime, "Q", descr); \
CTASSERT(((access) & CTLTYPE) == 0 || \
((access) & SYSCTL_CT_ASSERT_MASK) == CTLTYPE_S64)
@@ -874,7 +874,7 @@
CTASSERT(((access) & CTLTYPE) == 0 || \
((access) & SYSCTL_CT_ASSERT_MASK) == CTLTYPE_S64); \
sysctl_add_oid(ctx, parent, nbr, name, \
- CTLTYPE_INT | CTLFLAG_MPSAFE | CTLFLAG_RD | (access), \
+ CTLTYPE_S64 | CTLFLAG_MPSAFE | CTLFLAG_RD | (access), \
__ptr, 0, sysctl_usec_to_sbintime, "Q", __DESCR(descr), \
NULL); \
})
@@ -882,7 +882,7 @@
/* OID expressing a sbintime_t as milliseconds */
#define SYSCTL_SBINTIME_MSEC(parent, nbr, name, access, ptr, descr) \
SYSCTL_OID(parent, nbr, name, \
- CTLTYPE_INT | CTLFLAG_MPSAFE | CTLFLAG_RD | (access), \
+ CTLTYPE_S64 | CTLFLAG_MPSAFE | CTLFLAG_RD | (access), \
(ptr), 0, sysctl_msec_to_sbintime, "Q", descr); \
CTASSERT(((access) & CTLTYPE) == 0 || \
((access) & SYSCTL_CT_ASSERT_MASK) == CTLTYPE_S64)
@@ -892,7 +892,7 @@
CTASSERT(((access) & CTLTYPE) == 0 || \
((access) & SYSCTL_CT_ASSERT_MASK) == CTLTYPE_S64); \
sysctl_add_oid(ctx, parent, nbr, name, \
- CTLTYPE_INT | CTLFLAG_MPSAFE | CTLFLAG_RD | (access), \
+ CTLTYPE_S64 | CTLFLAG_MPSAFE | CTLFLAG_RD | (access), \
__ptr, 0, sysctl_msec_to_sbintime, "Q", __DESCR(descr), \
NULL); \
})
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 17, 11:31 AM (10 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29716666
Default Alt Text
D49584.1789644662.diff (1 KB)
Attached To
Mode
D49584: Correct CTLTYPE of SYSCTL_SBINTIME_MSEC etc
Attached
Detach File
Event Timeline
Log In to Comment