diff options
author | Rene Herman <rene.herman@gmail.com> | 2007-10-17 02:29:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:57 -0400 |
commit | debe621468cf54630d360999f6223b50a3efdd0c (patch) | |
tree | 05665549b0a8e693d8339b911aa879423fb7e836 | |
parent | 80eb68d23897126e7f25e2b3689bc27fb8cdde17 (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>
-rw-r--r-- | lib/iomap.c | 2 |
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) | |||
40 | static int count = 10; | 40 | static int count = 10; |
41 | if (count) { | 41 | if (count) { |
42 | count--; | 42 | count--; |
43 | printk(KERN_ERR "Bad IO access at port %lx (%s)\n", port, access); | 43 | printk(KERN_ERR "Bad IO access at port %#lx (%s)\n", port, access); |
44 | WARN_ON(1); | 44 | WARN_ON(1); |
45 | } | 45 | } |
46 | } | 46 | } |