discover/device-handler: Mention booting device in timeout status

Submitted by Sam Mendoza-Jonas on July 13, 2017, 3:57 a.m.

Details

Message ID 20170713035755.15848-1-sam@mendozajonas.com
State New
Headers show

Commit Message

Sam Mendoza-Jonas July 13, 2017, 3:57 a.m.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
---
 discover/device-handler.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

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);