Skip to content

Commit 18594e9

Browse files
Nicolas Schichantorvalds
authored andcommitted
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: Nicolas Schichan <nicolas.schichan@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 10b9dd5 commit 18594e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init/do_mounts_rd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ int __init rd_load_image(char *from)
272272
sys_write(out_fd, buf, BLOCK_SIZE);
273273
#if !defined(CONFIG_S390)
274274
if (!(i % 16)) {
275-
printk("%c\b", rotator[rotate & 0x3]);
275+
pr_cont("%c\b", rotator[rotate & 0x3]);
276276
rotate++;
277277
}
278278
#endif

0 commit comments

Comments
 (0)