summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRene Herman <rene.herman@gmail.com>2007-10-17 10:29:51 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 19:42:57 +0400
commitdebe621468cf54630d360999f6223b50a3efdd0c (patch)
tree05665549b0a8e693d8339b911aa879423fb7e836 /lib
parent80eb68d23897126e7f25e2b3689bc27fb8cdde17 (diff)
downloadlinux-debe621468cf54630d360999f6223b50a3efdd0c.tar.xz
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);
}
}