Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2013 03:59:51 +0000 (UTC)
From:      Andreas Tobler <andreast@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256953 - head/sys/dev/ofw
Message-ID:  <201310230359.r9N3xqlH092504@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310230359.r9N3xqlH092504>