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@FreeBSD.org Reporter: f...@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. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"