svn commit: r351242 - in stable: 11/sys/kern 12/sys/kern

John Baldwin jhb at FreeBSD.org
Mon Aug 19 23:57:38 UTC 2019


Author: jhb
Date: Mon Aug 19 23:57:37 2019
New Revision: 351242
URL: https://svnweb.freebsd.org/changeset/base/351242

Log:
  MFC 349616: Fix description of debug.obsolete_panic.

Modified:
  stable/12/sys/kern/subr_bus.c
Directory Properties:
  stable/12/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/sys/kern/subr_bus.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/12/sys/kern/subr_bus.c
==============================================================================
--- stable/12/sys/kern/subr_bus.c	Mon Aug 19 23:09:38 2019	(r351241)
+++ stable/12/sys/kern/subr_bus.c	Mon Aug 19 23:57:37 2019	(r351242)
@@ -5894,8 +5894,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-all mailing list