summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRene Herman <rene.herman@gmail.com>2007-10-17 08:29:51 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 17:42:57 +0200
commitdebe621468cf54630d360999f6223b50a3efdd0c (patch)
tree05665549b0a8e693d8339b911aa879423fb7e836 /lib
parentreiserfs: fix kernel panic on corrupted directory (diff)
downloadlinux-debe621468cf54630d360999f6223b50a3efdd0c.tar.xz
linux-debe621468cf54630d360999f6223b50a3efdd0c.zip
lib/iomap.c:bad_io_access(): print 0x hex prefix
Be explicit about printing hex. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/iomap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/iomap.c b/lib/iomap.c
index 864f2ec1966e..72c42687ba10 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);
}
}