Fix printf format string in asmc_key_dump().

Spotted by:	tinderbox
MFC after:	1 week
This commit is contained in:
Rui Paulo 2009-09-14 15:53:30 +00:00
parent c1a293abfc
commit e1311070b0

View File

@ -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++) {