diff options
| author | Rui Paulo <rpaulo@FreeBSD.org> | 2009-09-14 21:33:00 +0000 |
|---|---|---|
| committer | Rui Paulo <rpaulo@FreeBSD.org> | 2009-09-14 21:33:00 +0000 |
| commit | f17bca826166cc989394aac3ac5a739397ecabfe (patch) | |
| tree | 544923e4566f7b8e81bddc62c8e657064f5c06be /sys/dev/asmc | |
| parent | 63e1d3df27007fd0f5986baebeed21a1bb49283b (diff) | |
Notes
Diffstat (limited to 'sys/dev/asmc')
| -rw-r--r-- | sys/dev/asmc/asmc.c | 5 |
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++) { |
