Skip to content

Commit

Permalink
lib/iomap.c:bad_io_access(): print 0x hex prefix
Browse files Browse the repository at this point in the history
Be explicit about printing hex.

Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Rene Herman authored and Linus Torvalds committed Oct 17, 2007
1 parent 80eb68d commit debe621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iomap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit debe621

Please sign in to comment.