Skip to contentSkip to conversation

lib/iomap.c:bad_io_access() -- print 0x hex prefix

PATCH New Rene Herman 1 participant 1 message Sep 15, 2007 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/iomap.c:bad_io_access() -- print 0x hex prefix

Hi Andrew.

Trivial -- be explicit about printing hex.

Rene

lib/iomap.c +1 -1
index a57d262..5dfcbde 100644
@@ -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);
 	}
 }