From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941055AbcKXMiU (ORCPT ); Thu, 24 Nov 2016 07:38:20 -0500 Received: from smtpfb2-g21.free.fr ([212.27.42.10]:40842 "EHLO smtpfb2-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938317AbcKXMiT (ORCPT ); Thu, 24 Nov 2016 07:38:19 -0500 From: Nicolas Schichan To: Linus Torvalds , linux-kernel@vger.kernel.org Cc: Nicolas Schichan Subject: [PATCH] init: use pr_cont() when displaying rotator during ramdisk loading. Date: Thu, 24 Nov 2016 13:38:04 +0100 Message-Id: <1479991084-26931-1-git-send-email-nicolas.schichan@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Otherwise each individual rotator char would be printed in a new line: (...) [ 0.642350] - [ 0.644374] | [ 0.646367] - (...) Signed-off-by: Nicolas Schichan --- init/do_mounts_rd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/do_mounts_rd.c b/init/do_mounts_rd.c index 8a09b32..dd4104c 100644 --- a/init/do_mounts_rd.c +++ b/init/do_mounts_rd.c @@ -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 -- 2.7.4