Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F112521077
D49351.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
507 B
Referenced Files
None
Subscribers
None
D49351.diff
View Options
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -516,7 +516,7 @@
/* check for non-auto OID number collision */
if (oidp->oid_number >= 0 && oidp->oid_number < CTL_AUTO_START &&
oid_number >= CTL_AUTO_START) {
- printf("sysctl: OID number(%d) is already in use for '%s'\n",
+ panic("sysctl: OID number(%d) is already in use for '%s'\n",
oidp->oid_number, oidp->oid_name);
}
/* update the OID number, if any */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 6:43 AM (21 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17160982
Default Alt Text
D49351.diff (507 B)
Attached To
Mode
D49351: sysctl: Panic on OID reuse
Attached
Detach File
Event Timeline
Log In to Comment