Use a better #if guard.
Suggested by pluknet <pluknet at gmail dot com>.
This commit is contained in:
parent
c05dbe7a54
commit
181ff3d503
@ -115,7 +115,7 @@ _assert_sbuf_state(const char *fun, struct sbuf *s, int state)
|
||||
|
||||
#endif /* _KERNEL && INVARIANTS */
|
||||
|
||||
#ifdef _KERNEL
|
||||
#ifdef CTASSERT
|
||||
CTASSERT(powerof2(SBUF_MAXEXTENDSIZE));
|
||||
CTASSERT(powerof2(SBUF_MAXEXTENDINCR));
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user