[PATCH] discover/device-handler: Mention booting device in timeout status

Samuel Mendoza-Jonas sam at mendozajonas.com
Thu Jul 13 13:57:55 AEST 2017


Signed-off-by: Samuel Mendoza-Jonas <sam at mendozajonas.com>
---
 discover/device-handler.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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



More information about the Petitboot mailing list