[PATCH 07/11] bbu: make bbu confirm a bit more verbose

Lucas Stach dev at lynxeye.de
Tue Mar 3 11:46:19 PST 2015


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

Signed-off-by: Lucas Stach <dev at 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




More information about the barebox mailing list