Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2019 23:57:37 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r351242 - in stable: 11/sys/kern 12/sys/kern
Message-ID:  <201908192357.x7JNvbKE024698@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908192357.x7JNvbKE024698>