From b660846ed8b9f51d9ff0cc9f019332aa7a13c48c Mon Sep 17 00:00:00 2001 From: Rui Paulo Date: Mon, 14 Sep 2009 16:16:07 +0000 Subject: [PATCH] Fix previous commit. I got it backwards. MFC after: 1 week --- sys/dev/asmc/asmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c index ae4d7b8aeee9..f99c79c39ad8 100644 --- a/sys/dev/asmc/asmc.c +++ b/sys/dev/asmc/asmc.c @@ -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 %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++) {