git: bdf595fcea8e - stable/15 - exterrvar.h: style(9): Fix two small nits
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Feb 2026 12:29:24 UTC
The branch stable/15 has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=bdf595fcea8e2a6056e5e68a321fb7505659e585
commit bdf595fcea8e2a6056e5e68a321fb7505659e585
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2025-11-27 09:42:50 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-02-19 12:28:44 +0000
exterrvar.h: style(9): Fix two small nits
- Use tabs before '\'.
- Comment for '#else' must be the negation of the initial '#if''s test.
No functional change.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit d9e734d650844f4465a2e064fc9ee0897ed9aa95)
---
sys/sys/exterrvar.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/sys/exterrvar.h b/sys/sys/exterrvar.h
index 8e2961356a1e..6c75a2d01174 100644
--- a/sys/sys/exterrvar.h
+++ b/sys/sys/exterrvar.h
@@ -44,7 +44,7 @@
(kep)->p1 = (pp1); \
(kep)->p2 = (pp2); \
(kep)->src_line = __LINE__; \
- (kep)->error; \
+ (kep)->error; \
})
#define _SET_ERROR0_KE(kep, eerror, mmsg) \
_SET_ERROR2_KE(kep, eerror, mmsg, 0, 0)
@@ -77,7 +77,7 @@ int exterr_set(int eerror, int category, const char *mmsg, uintptr_t pp1,
int exterr_to_ue(struct thread *td, struct uexterror *ue);
void ktrexterr(struct thread *td);
-#else /* _KERNEL */
+#else /* !_KERNEL */
#include <sys/types.h>