From e1311070b0d0716eb4555a9ec49000a2f890ced7 Mon Sep 17 00:00:00 2001 From: Rui Paulo Date: Mon, 14 Sep 2009 15:53:30 +0000 Subject: [PATCH] Fix printf format string in asmc_key_dump(). Spotted by: tinderbox 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 bf9c7454888..ae4d7b8aeee 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++) {