git: a4c1644adbdf - stable/15 - ktrace: Only enable EXTERROR traces for 'x'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 10 Nov 2025 14:55:45 UTC
The branch stable/15 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=a4c1644adbdf25d1f8287d41ab36bd8d178584f3
commit a4c1644adbdf25d1f8287d41ab36bd8d178584f3
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-11-06 02:47:37 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-11-10 14:55:25 +0000
ktrace: Only enable EXTERROR traces for 'x'
Add a missing break statement to avoid falling through to the '+'
case.
Fixes: 96f4be881e8e ("ktrace(1): teach about KTR_EXTERR")
(cherry picked from commit 0b8d17c861194057261d898d94eb45ca9ea310b4)
---
usr.bin/ktrace/subr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/usr.bin/ktrace/subr.c b/usr.bin/ktrace/subr.c
index 422a37bb413d..fac335948f46 100644
--- a/usr.bin/ktrace/subr.c
+++ b/usr.bin/ktrace/subr.c
@@ -89,6 +89,7 @@ getpoints(char *s)
break;
case 'x':
facs |= KTRFAC_EXTERR;
+ break;
case '+':
facs |= DEF_POINTS;
break;