Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2009 15:53:30 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r197193 - head/sys/dev/asmc
Message-ID:  <200909141553.n8EFrU1q059137@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Mon Sep 14 15:53:30 2009
New Revision: 197193
URL: http://svn.freebsd.org/changeset/base/197193

Log:
  Fix printf format string in asmc_key_dump().
  
  Spotted by:	tinderbox
  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 15:16:17 2009	(r197192)
+++ head/sys/dev/asmc/asmc.c	Mon Sep 14 15:53:30 2009	(r197193)
@@ -824,7 +824,7 @@ out:
 		type[5] = 0;
 		if (maxlen > sizeof(v)) {	
 			device_printf(dev, "WARNING: cropping maxlen "
-			    "from %d to %lud\n", maxlen, sizeof(v));
+			    "from %u to %u\n", maxlen, sizeof(v));
 			maxlen = sizeof(v);
 		}
 		for (i = 0; i < sizeof(v); i++) {



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