diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2009-09-14 15:53:30 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2009-09-14 15:53:30 +0000 |
commit | da5c80522881e76d71d879740fe88308acad34e3 (patch) | |
tree | 97a91161d3ab66b2c0d433e8cf697b9328f713df /sys/dev/asmc | |
parent | 5bade2b9a567806318a24b3fec5723d231051da5 (diff) | |
download | FreeBSD-src-da5c80522881e76d71d879740fe88308acad34e3.zip FreeBSD-src-da5c80522881e76d71d879740fe88308acad34e3.tar.gz |
Fix printf format string in asmc_key_dump().
Spotted by: tinderbox
MFC after: 1 week
Diffstat (limited to 'sys/dev/asmc')
-rw-r--r-- | sys/dev/asmc/asmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c index bf9c745..ae4d7b8 100644 --- a/sys/dev/asmc/asmc.c +++ b/sys/dev/asmc/asmc.c @@ -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++) { |