aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/asmc
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2009-09-14 16:16:07 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2009-09-14 16:16:07 +0000
commitb660846ed8b9f51d9ff0cc9f019332aa7a13c48c (patch)
treefc4d95c12eed8a409f97b7635f30ef1fba28ec2a /sys/dev/asmc
parente1311070b0d0716eb4555a9ec49000a2f890ced7 (diff)
Notes
Diffstat (limited to 'sys/dev/asmc')
-rw-r--r--sys/dev/asmc/asmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c
index ae4d7b8aeee98..f99c79c39ad86 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 %u to %u\n", maxlen, sizeof(v));
+ "from %u to %lu\n", maxlen, sizeof(v));
maxlen = sizeof(v);
}
for (i = 0; i < sizeof(v); i++) {