svn commit: r256953 - head/sys/dev/ofw

Andreas Tobler andreast at FreeBSD.org
Wed Oct 23 03:59:52 UTC 2013


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)


More information about the svn-src-head mailing list