Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2019 22:57:24 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349616 - head/sys/kern
Message-ID:  <201907022257.x62MvO48014435@repo.freebsd.org>

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



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