summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2009-09-14 21:33:00 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2009-09-14 21:33:00 +0000
commitf17bca826166cc989394aac3ac5a739397ecabfe (patch)
tree544923e4566f7b8e81bddc62c8e657064f5c06be
parent63e1d3df27007fd0f5986baebeed21a1bb49283b (diff)
Notes
-rw-r--r--sys/dev/asmc/asmc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c
index f99c79c39ad8..5fc8c4128cb5 100644
--- a/sys/dev/asmc/asmc.c
+++ b/sys/dev/asmc/asmc.c
@@ -823,8 +823,9 @@ out:
type[0] = ' ';
type[5] = 0;
if (maxlen > sizeof(v)) {
- device_printf(dev, "WARNING: cropping maxlen "
- "from %u to %lu\n", maxlen, sizeof(v));
+ device_printf(dev,
+ "WARNING: cropping maxlen from %d to %zu\n",
+ maxlen, sizeof(v));
maxlen = sizeof(v);
}
for (i = 0; i < sizeof(v); i++) {