diff options
author | Lucas Stach <dev@lynxeye.de> | 2015-03-03 20:46:19 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-03-04 11:34:08 +0100 |
commit | 21294b0516e39c433f117d4263f4bb4c867700e3 (patch) | |
tree | 846173731294ab8c729bfd8a07c46dbbd2f23d34 /common | |
parent | 6b73603f16e381a13b4d554d635ae60f39a9e014 (diff) | |
download | barebox-21294b0516e39c433f117d4263f4bb4c867700e3.tar.gz barebox-21294b0516e39c433f117d4263f4bb4c867700e3.tar.xz |
bbu: make bbu confirm a bit more verbose
It is a lot more user friendly if we give a bit more feedback.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/bbu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/bbu.c b/common/bbu.c index e31f645d9c..7fb154a230 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; } |