[Bug 221853] sysctl_(add|register)_oid(): Prefix log messages with the function name
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Aug 27 10:33:26 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221853
Bug ID: 221853
Summary: sysctl_(add|register)_oid(): Prefix log messages with
the function name
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: fk at fabiankeil.de
Flags: mfc-stable11?
Created attachment 185809
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185809&action=edit
sysctl_(add|register)_oid(): Prefix log message with the function name
The attached patch prefixes the "can't re-use a leaf ..." messages
emitted by sysctl_add_oid() and sysctl_register_oid() with the
name of the function.
This makes it more obvious that the messages are sysctl related
and which of the two functions emitted them.
Without the patch the messages look like:
kernel: can't re-use a leaf (delete_max)!
kernel: can't re-use a leaf (minimum_cmd_size)!
kernel: can't re-use a leaf (zone_mode)!
kernel: can't re-use a leaf (zone_support)!
kernel: can't re-use a leaf (optimal_seq_zones)!
Obtained from: ElectroBSD
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list