Explorar o código

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>
Rene Herman %!s(int64=17) %!d(string=hai) anos
pai
achega
debe621468
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/iomap.c

+ 1 - 1
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);
 	}
 }