aboutsummaryrefslogtreecommitdiff
path: root/lib/iomap.c
diff options
context:
space:
mode:
authorRene Herman <rene.herman@gmail.com>2007-10-16 23:29:51 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 08:42:57 -0700
commitdebe621468cf54630d360999f6223b50a3efdd0c (patch)
tree05665549b0a8e693d8339b911aa879423fb7e836 /lib/iomap.c
parent80eb68d23897126e7f25e2b3689bc27fb8cdde17 (diff)
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/iomap.c')
-rw-r--r--lib/iomap.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}