Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0525393 authored by Hans Wennborg's avatar Hans Wennborg Committed by Greg Kroah-Hartman
Browse files

TTY: fix decimal printf format specifiers prefixed with 0x



The prefix suggests the number should be printed in hex, so use
the %x specifier to do that.

Found by using regex suggested by Joe Perches.

Signed-off-by: default avatarHans Wennborg <hans@hanshq.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 62b0a1b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1096,7 +1096,7 @@ static int __init moxa_init(void)
				continue;
			}

			printk(KERN_INFO "MOXA isa board found at 0x%.8lu and "
			printk(KERN_INFO "MOXA isa board found at 0x%.8lx and "
					"ready (%u ports, firmware loaded)\n",
					baseaddr[i], brd->numPorts);