svn commit: r349616 - head/sys/kern

John Baldwin jhb at FreeBSD.org
Tue Jul 2 22:57:25 UTC 2019


Author: jhb
Date: Tue Jul  2 22:57:24 2019
New Revision: 349616
URL: https://svnweb.freebsd.org/changeset/base/349616

Log:
  Fix description of debug.obsolete_panic.
  
  MFC after:	1 week

Modified:
  head/sys/kern/subr_bus.c

Modified: head/sys/kern/subr_bus.c
==============================================================================
--- head/sys/kern/subr_bus.c	Tue Jul  2 22:11:07 2019	(r349615)
+++ head/sys/kern/subr_bus.c	Tue Jul  2 22:57:24 2019	(r349616)
@@ -5922,8 +5922,9 @@ devctl2_init(void)
  */
 static int obsolete_panic = 0;
 SYSCTL_INT(_debug, OID_AUTO, obsolete_panic, CTLFLAG_RWTUN, &obsolete_panic, 0,
-    "Bus debug level");
-/* 0 - don't panic, 1 - panic if already obsolete, 2 - panic if deprecated */
+    "Panic when obsolete features are used (0 = never, 1 = if osbolete, "
+    "2 = if deprecated)");
+
 static void
 gone_panic(int major, int running, const char *msg)
 {


More information about the svn-src-head mailing list