]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kernel/sys.c: sys_reboot(): fix malformed panic message
authorliguang <lig.fnst@cn.fujitsu.com>
Wed, 19 Jun 2013 00:07:09 +0000 (10:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:26:58 +0000 (17:26 +1000)
commit61226f77c1385be591389faa54a9abc3454d891c
tree12e02fe2bb37c91c5f243e1a8c1cf9d22a17270b
parent0c100623d4d445bc01bfdded5ed55a0de671c248
kernel/sys.c: sys_reboot(): fix malformed panic message

If LINUX_REBOOT_CMD_HALT for reboot failed, the message "cannot halt" will
stay on the same line with the next message, so append a '\n'.

Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/sys.c