svn commit: r197195 - head/sys/dev/asmc

Rui Paulo rpaulo at FreeBSD.org
Mon Sep 14 16:16:08 UTC 2009


Author: rpaulo
Date: Mon Sep 14 16:16:07 2009
New Revision: 197195
URL: http://svn.freebsd.org/changeset/base/197195

Log:
  Fix previous commit. I got it backwards.
  
  MFC after:	1 week

Modified:
  head/sys/dev/asmc/asmc.c

Modified: head/sys/dev/asmc/asmc.c
==============================================================================
--- head/sys/dev/asmc/asmc.c	Mon Sep 14 16:13:12 2009	(r197194)
+++ head/sys/dev/asmc/asmc.c	Mon Sep 14 16:16:07 2009	(r197195)
@@ -824,7 +824,7 @@ out:
 		type[5] = 0;
 		if (maxlen > sizeof(v)) {	
 			device_printf(dev, "WARNING: cropping maxlen "
-			    "from %u to %u\n", maxlen, sizeof(v));
+			    "from %u to %lu\n", maxlen, sizeof(v));
 			maxlen = sizeof(v);
 		}
 		for (i = 0; i < sizeof(v); i++) {


More information about the svn-src-head mailing list