aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Certner <olce@FreeBSD.org>2025-11-27 09:42:50 +0000
committerOlivier Certner <olce@FreeBSD.org>2025-11-27 10:07:15 +0000
commitd9e734d650844f4465a2e064fc9ee0897ed9aa95 (patch)
tree6fd5bc8cb67bb9c0e7a2d33551d9136fd225f4f5
parent000d5b52c19ff3858a6f0cbb405d47713c4267a4 (diff)
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
-rw-r--r--sys/sys/exterrvar.h4
1 files 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>