Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Nicolas Schichan and committed by
Linus Torvalds
18594e9b 10b9dd56

+1 -1
+1 -1
init/do_mounts_rd.c
··· 272 272 sys_write(out_fd, buf, BLOCK_SIZE); 273 273 #if !defined(CONFIG_S390) 274 274 if (!(i % 16)) { 275 - printk("%c\b", rotator[rotate & 0x3]); 275 + pr_cont("%c\b", rotator[rotate & 0x3]); 276 276 rotate++; 277 277 } 278 278 #endif