提交 18594e9b 编写于 作者: N Nicolas Schichan 提交者: Linus Torvalds

init: use pr_cont() when displaying rotator during ramdisk loading.

Otherwise each individual rotator char would be printed in a new line:

(...)
[    0.642350] -
[    0.644374] |
[    0.646367] -
(...)
Signed-off-by: NNicolas Schichan <nicolas.schichan@gmail.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 10b9dd56
......@@ -272,7 +272,7 @@ int __init rd_load_image(char *from)
sys_write(out_fd, buf, BLOCK_SIZE);
#if !defined(CONFIG_S390)
if (!(i % 16)) {
printk("%c\b", rotator[rotate & 0x3]);
pr_cont("%c\b", rotator[rotate & 0x3]);
rotate++;
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册