summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-07-13 10:19:18 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-07-13 13:00:04 +1000
commit2713a008a6b7fb9e63d5b8004fc39dae22e1abf7 (patch)
treedf54058cc757f230a9f05bf0c1f49f0a15604494
parent3fc71b6422efdeb093ca6693553c0c31758a68d1 (diff)
downloadtalos-petitboot-2713a008a6b7fb9e63d5b8004fc39dae22e1abf7.zip
talos-petitboot-2713a008a6b7fb9e63d5b8004fc39dae22e1abf7.tar.gz
discover/device-handler: Mention booting device in timeout status
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
-rw-r--r--discover/device-handler.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/discover/device-handler.c b/discover/device-handler.c
index 778cc8d..ec4a6f6 100644
--- a/discover/device-handler.c
+++ b/discover/device-handler.c
@@ -628,7 +628,8 @@ static void countdown_status(struct device_handler *handler,
status.type = STATUS_INFO;
status.message = talloc_asprintf(handler,
- _("Booting in %d sec: %s"), sec, opt->option->name);
+ _("Booting in %d sec: [%s] %s"), sec,
+ opt->device->device->id, opt->option->name);
status.backlog = false;
device_handler_status(handler, &status);
OpenPOWER on IntegriCloud