mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Fix printf format string in asmc_key_dump().
Spotted by: tinderbox MFC after: 1 week
This commit is contained in:
parent
c1a293abfc
commit
e1311070b0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197193
|
@ -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++) {
|
||||
|
|
Loading…
Reference in a new issue