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 864f2ec1966ec46fe66d5e30634c28ccf4ea26a8..72c42687ba1095e1357e81a0aa259275dd5cc618 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);
        }
 }