git: 1a6238d1ea2a - main - sigexit: add a break in default case

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Sat, 05 Aug 2023 23:50:55 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=1a6238d1ea2ae8768a7b088d2beca6b97dabe00c

commit 1a6238d1ea2ae8768a7b088d2beca6b97dabe00c
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-08-05 23:20:00 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-08-05 23:21:11 +0000

    sigexit: add a break in default case
    
    Suggested by:   markj
    Fixes:          6edbe5616c76 ("Provide some more information for...")
    Sponsored by:   The FreeBSD Foundation
---
 sys/kern/kern_sig.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index df3ebc0103c4..d30526ca8251 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -3641,6 +3641,7 @@ sigexit(struct thread *td, int sig)
 			break;
 		default:
 			coreinfo = " (no core dump - other error)";
+			break;
 		}
 		if (kern_logsigexit)
 			log(LOG_INFO,