lib/iomap.c:bad_io_access(): print 0x hex prefix
authorRene Herman <rene.herman@gmail.com>
Wed, 17 Oct 2007 06:29:51 +0000 (23:29 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:57 +0000 (08:42 -0700)
Be explicit about printing hex.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/iomap.c

index 864f2ec..72c4268 100644 (file)
@@ -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);
        }
 }