git: 40e6e2c2f711 - main - sysctl: improve debug.kdb.panic_str description

Warner Losh imp at FreeBSD.org
Sat Jan 9 18:11:56 UTC 2021


The branch main has been updated by imp:

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

commit 40e6e2c2f711f95cb623691aacc235a79c1cfaeb
Author:     Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-01-09 18:10:42 +0000
Commit:     Warner Losh <imp at 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,


More information about the dev-commits-src-all mailing list