Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2021 18:11:56 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 40e6e2c2f711 - main - sysctl: improve debug.kdb.panic_str description
Message-ID:  <202101091811.109IBu3J093867@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=40e6e2c2f711f95cb623691aacc235a79c1cfaeb

commit 40e6e2c2f711f95cb623691aacc235a79c1cfaeb
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-01-09 18:10:42 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-01-09 18:10:42 +0000

    sysctl: improve debug.kdb.panic_str description
    
    Improve the wording for this sysctl.
    
    Submitted by: rpokala@
---
 sys/kern/subr_kdb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/subr_kdb.c b/sys/kern/subr_kdb.c
index 9de2d9de13e8..1fabb4044eb1 100644
--- a/sys/kern/subr_kdb.c
+++ b/sys/kern/subr_kdb.c
@@ -113,7 +113,7 @@ SYSCTL_PROC(_debug_kdb, OID_AUTO, panic,
 SYSCTL_PROC(_debug_kdb, OID_AUTO, panic_str,
     CTLTYPE_STRING | CTLFLAG_RW | CTLFLAG_SECURE | CTLFLAG_MPSAFE, NULL, 0,
     kdb_sysctl_panic_str, "A",
-    "set to panic the kernel with using the string as the panic message");
+    "trigger a kernel panic, using the provided string as the panic message");
 
 SYSCTL_PROC(_debug_kdb, OID_AUTO, trap,
     CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_SECURE | CTLFLAG_MPSAFE, NULL, 0,



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