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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197193

View File

@ -824,7 +824,7 @@ asmc_key_dump(device_t dev, int number)
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++) {