git: 0b8d17c86119 - main - ktrace: Only enable EXTERROR traces for 'x'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Nov 2025 02:48:54 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=0b8d17c861194057261d898d94eb45ca9ea310b4
commit 0b8d17c861194057261d898d94eb45ca9ea310b4
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-11-06 02:47:37 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-11-06 02:48:37 +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")
---
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;