From: Rene Herman Date: Wed, 17 Oct 2007 06:29:51 +0000 (-0700) Subject: lib/iomap.c:bad_io_access(): print 0x hex prefix X-Git-Tag: v2.6.24-rc1~621 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=debe621468cf54630d360999f6223b50a3efdd0c;p=linux-2.6-omap-h63xx.git lib/iomap.c:bad_io_access(): print 0x hex prefix Be explicit about printing hex. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/lib/iomap.c b/lib/iomap.c index 864f2ec1966..72c42687ba1 100644 --- a/lib/iomap.c +++ b/lib/iomap.c @@ -40,7 +40,7 @@ static void bad_io_access(unsigned long port, const char *access) static int count = 10; if (count) { count--; - printk(KERN_ERR "Bad IO access at port %lx (%s)\n", port, access); + printk(KERN_ERR "Bad IO access at port %#lx (%s)\n", port, access); WARN_ON(1); } }