mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use a better #if guard.
Suggested by pluknet <pluknet at gmail dot com>.
This commit is contained in:
parent
c05dbe7a54
commit
181ff3d503
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue