git: d9e734d65084 - main - exterrvar.h: style(9): Fix two small nits
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Nov 2025 10:07:30 UTC
The branch main has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=d9e734d650844f4465a2e064fc9ee0897ed9aa95
commit d9e734d650844f4465a2e064fc9ee0897ed9aa95
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2025-11-27 09:42:50 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2025-11-27 10:07:15 +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
---
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>