提交 9c00409a 编写于 作者: U Uwe Kleine-Koenig 提交者: David S. Miller

[IPV4]: fix alignment of IP-Config output

Make the indented lines aligned in the output (not in the code).
Signed-off-by: NUwe Kleine-Koenig <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 32b90fc8
...@@ -1390,7 +1390,7 @@ static int __init ip_auto_config(void) ...@@ -1390,7 +1390,7 @@ static int __init ip_auto_config(void)
* Clue in the operator. * Clue in the operator.
*/ */
printk("IP-Config: Complete:"); printk("IP-Config: Complete:");
printk("\n device=%s", ic_dev->name); printk("\n device=%s", ic_dev->name);
printk(", addr=%u.%u.%u.%u", NIPQUAD(ic_myaddr)); printk(", addr=%u.%u.%u.%u", NIPQUAD(ic_myaddr));
printk(", mask=%u.%u.%u.%u", NIPQUAD(ic_netmask)); printk(", mask=%u.%u.%u.%u", NIPQUAD(ic_netmask));
printk(", gw=%u.%u.%u.%u", NIPQUAD(ic_gateway)); printk(", gw=%u.%u.%u.%u", NIPQUAD(ic_gateway));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册