]> 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>
Fri, 7 Jun 2013 00:08:39 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Jun 2013 05:42:41 +0000 (15:42 +1000)
commitacd90f8ffbafed7822a279dcb301bb16c61a62b2
tree314a3bf848df08306d7f70315e3719ee2927487f
parent84a010d623c683f3c05335230a3e3b534f937f20
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