Use a better #if guard.

Suggested by pluknet <pluknet at gmail dot com>.
This commit is contained in:
Matthew D Fleming 2010-09-03 17:42:17 +00:00
parent c05dbe7a54
commit 181ff3d503

View File

@ -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