X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=discover%2Fdevice-handler.c;h=c21eb286d2bd8b47d361fad1c537c883e50fdbbc;hb=49367fdd5034a010a3f7f657f8ad205ebf9a01fe;hp=f5dc32c7abcb4f2239980b1c5a837fd2dd60cc2b;hpb=310de3ab00b77b09a897b93ed0272b82ebc4f73b;p=petitboot diff --git a/discover/device-handler.c b/discover/device-handler.c index f5dc32c..c21eb28 100644 --- a/discover/device-handler.c +++ b/discover/device-handler.c @@ -294,7 +294,7 @@ struct device_handler *device_handler_init(struct discover_server *server, return handler; } -static void device_handler_reinit(struct device_handler *handler) +void device_handler_reinit(struct device_handler *handler) { struct discover_boot_option *opt, *tmp; unsigned int i; @@ -373,7 +373,7 @@ static void countdown_status(struct device_handler *handler, status.progress = -1; status.detail = NULL; status.message = talloc_asprintf(handler, - "Booting %s in %u sec", opt->option->name, sec); + "Booting in %d sec: %s", sec, opt->option->name); discover_server_notify_boot_status(handler->server, &status);