From debe621468cf54630d360999f6223b50a3efdd0c Mon Sep 17 00:00:00 2001 From: Rene Herman Date: Tue, 16 Oct 2007 23:29:51 -0700 Subject: 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 --- lib/iomap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.3-18-g5258