Date: Tue, 22 Oct 2013 23:00:45 -0500 From: Nathan Whitehorn <nwhitehorn@freebsd.org> To: Andreas Tobler <andreast@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r256953 - head/sys/dev/ofw Message-ID: <526749ED.4060300@freebsd.org> In-Reply-To: <201310230359.r9N3xqlH092504@svn.freebsd.org> References: <201310230359.r9N3xqlH092504@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/22/13 22:59, Andreas Tobler wrote: > Author: andreast > Date: Wed Oct 23 03:59:51 2013 > New Revision: 256953 > URL: http://svnweb.freebsd.org/changeset/base/256953 > > Log: > Fix build. > > Modified: > head/sys/dev/ofw/openfirm.c > > Modified: head/sys/dev/ofw/openfirm.c > ============================================================================== > --- head/sys/dev/ofw/openfirm.c Wed Oct 23 03:27:42 2013 (r256952) > +++ head/sys/dev/ofw/openfirm.c Wed Oct 23 03:59:51 2013 (r256953) > @@ -287,7 +287,7 @@ OF_getencprop(phandle_t node, const char > ssize_t retval; > int i; > > - KASSERT(len % 4 == 0, "Need a multiple of 4 bytes"); > + KASSERT(len % 4 == 0, ("Need a multiple of 4 bytes")); > > retval = OF_getprop(node, propname, buf, len); > for (i = 0; i < len/4; i++) > @@ -354,7 +354,7 @@ OF_getencprop_alloc(phandle_t package, c > pcell_t *cell; > int i; > > - KASSERT(elsz % 4 == 0, "Need a multiple of 4 bytes"); > + KASSERT(elsz % 4 == 0, ("Need a multiple of 4 bytes")); > > retval = OF_getprop_alloc(package, name, elsz, buf); > if (retval == -1) Thank you! Serves me right for doing my test builds with INVARIANTS off. -Nathan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?526749ED.4060300>