Date: Fri, 3 Sep 2010 17:42:17 +0000 (UTC) From: Matthew D Fleming <mdf@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r212184 - head/sys/kern Message-ID: <201009031742.o83HgH8W057158@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mdf Date: Fri Sep 3 17:42:17 2010 New Revision: 212184 URL: http://svn.freebsd.org/changeset/base/212184 Log: Use a better #if guard. Suggested by pluknet <pluknet at gmail dot com>. Modified: head/sys/kern/subr_sbuf.c Modified: head/sys/kern/subr_sbuf.c ============================================================================== --- head/sys/kern/subr_sbuf.c Fri Sep 3 17:42:12 2010 (r212183) +++ head/sys/kern/subr_sbuf.c Fri Sep 3 17:42:17 2010 (r212184) @@ -115,7 +115,7 @@ _assert_sbuf_state(const char *fun, stru #endif /* _KERNEL && INVARIANTS */ -#ifdef _KERNEL +#ifdef CTASSERT CTASSERT(powerof2(SBUF_MAXEXTENDSIZE)); CTASSERT(powerof2(SBUF_MAXEXTENDINCR)); #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009031742.o83HgH8W057158>