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

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
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment