From: Marco Felsch <m.felsch@pengutronix.de> To: barebox@lists.infradead.org Subject: [PATCH 1/4] commands: mount: replace printf by pr_info Date: Fri, 21 May 2021 18:34:32 +0200 [thread overview] Message-ID: <20210521163435.17365-2-m.felsch@pengutronix.de> (raw) In-Reply-To: <20210521163435.17365-1-m.felsch@pengutronix.de> This allows us to control the output behaviour e.g. booting silently to improve boot time. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> --- commands/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/mount.c b/commands/mount.c index ff1d8bc5e5..bb2d1d60f4 100644 --- a/commands/mount.c +++ b/commands/mount.c @@ -74,7 +74,7 @@ static int do_mount(int argc, char *argv[]) if (IS_ERR(path)) return PTR_ERR(path); - printf("mounted /dev/%s on %s\n", devstr, path); + pr_info("mounted /dev/%s on %s\n", devstr, path); return 0; } -- 2.29.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2021-05-21 16:36 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-21 16:34 [PATCH 0/4] Change printf behaviour Marco Felsch 2021-05-21 16:34 ` Marco Felsch [this message] 2021-05-25 5:15 ` [PATCH 1/4] commands: mount: replace printf by pr_info Sascha Hauer 2021-05-25 8:42 ` Marco Felsch 2021-05-25 12:28 ` Ahmad Fatoum 2021-05-21 16:34 ` [PATCH 2/4] common: boot: replace printf by pr_info/warn variants Marco Felsch 2021-05-21 16:34 ` [PATCH 3/4] common: bootm: replace printf by pr_err/info Marco Felsch 2021-05-21 16:34 ` [PATCH 4/4] common: oftree: replace printf by pr_info Marco Felsch 2021-05-21 16:52 ` [PATCH 0/4] Change printf behaviour Marco Felsch
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210521163435.17365-2-m.felsch@pengutronix.de \ --to=m.felsch@pengutronix.de \ --cc=barebox@lists.infradead.org \ --subject='Re: [PATCH 1/4] commands: mount: replace printf by pr_info' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox