From owner-svn-src-all@FreeBSD.ORG Wed Oct 23 04:00:54 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9F91FD6E; Wed, 23 Oct 2013 04:00:54 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from smtpauth4.wiscmail.wisc.edu (wmauth4.doit.wisc.edu [144.92.197.145]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6FA5A2E93; Wed, 23 Oct 2013 04:00:54 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth4.wiscmail.wisc.edu by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MV300400SG4AT00@smtpauth4.wiscmail.wisc.edu>; Tue, 22 Oct 2013 23:00:46 -0500 (CDT) X-Spam-PmxInfo: Server=avs-4, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.10.23.35414, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from comporellon.tachypleus.net (adsl-76-208-69-44.dsl.mdsnwi.sbcglobal.net [76.208.69.44]) by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MV3005QGSH92710@smtpauth4.wiscmail.wisc.edu>; Tue, 22 Oct 2013 23:00:46 -0500 (CDT) Message-id: <526749ED.4060300@freebsd.org> Date: Tue, 22 Oct 2013 23:00:45 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 To: Andreas Tobler , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r256953 - head/sys/dev/ofw References: <201310230359.r9N3xqlH092504@svn.freebsd.org> In-reply-to: <201310230359.r9N3xqlH092504@svn.freebsd.org> X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 04:00:54 -0000 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