mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <dev@lynxeye.de>
To: barebox@lists.infradead.org
Subject: [PATCH 2/5] bbu: make bbu confirm a bit more verbose
Date: Fri, 27 Feb 2015 20:22:15 +0100	[thread overview]
Message-ID: <1425064938-11558-2-git-send-email-dev@lynxeye.de> (raw)
In-Reply-To: <1425064938-11558-1-git-send-email-dev@lynxeye.de>

It is a lot more user friendly if we give a bit more feedback.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
 common/bbu.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/common/bbu.c b/common/bbu.c
index e31f645..7fb154a 100644
--- a/common/bbu.c
+++ b/common/bbu.c
@@ -65,8 +65,10 @@ int bbu_confirm(struct bbu_data *data)
 
 	key = read_key();
 
-	if (key == 'y')
+	if (key == 'y') {
+		printf("updating barebox...\n");
 		return 0;
+	}
 
 	return -EINTR;
 }
-- 
2.1.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2015-02-27 19:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-27 19:22 [PATCH 1/5] bbu: include necessary headers Lucas Stach
2015-02-27 19:22 ` Lucas Stach [this message]
2015-02-27 19:22 ` [PATCH 3/5] ARM: tegra: add eMMC barebox update handler Lucas Stach
2015-02-27 19:22 ` [PATCH 4/5] ARM: tegra: add barebox update handler to Beaver board Lucas Stach
2015-03-01  7:23   ` Sascha Hauer
2015-03-01 12:10     ` Lucas Stach
2015-02-27 19:22 ` [PATCH 5/5] ARM: tegra: add barebox update handler to Jetson board Lucas Stach

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=1425064938-11558-2-git-send-email-dev@lynxeye.de \
    --to=dev@lynxeye.de \
    --cc=barebox@lists.infradead.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox