]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/sys.c: sys_reboot(): fix malformed panic message
authorliguang <lig.fnst@cn.fujitsu.com>
Wed, 3 Jul 2013 22:05:00 +0000 (15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:41 +0000 (16:07 -0700)
commit7ccc84ee93b7c80da975bb1f7ac70fb0bb332a62
tree0d3386535e7f93cfdd7fff721eeb5a1a6826063d
parent7abe7f7b8563a12dc20de10d4e152c4622be629b
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sys.c