]> git.ozlabs.org Git - petitboot/blobdiff - discover/device-handler.c
discover: Maintain a backlog of status updates
[petitboot] / discover / device-handler.c
index a73a7ce590abe65c7463899f369d7d3c7b549195..48bfa0e237cfd410415d83a265fbbc0bed5a2284 100644 (file)
@@ -442,6 +442,7 @@ static void _device_handler_vstatus(struct device_handler *handler,
 
        status.type = type;
        status.message = talloc_vasprintf(handler, fmt, ap);
+       status.backlog = false;
 
        device_handler_status(handler, &status);
 
@@ -617,6 +618,7 @@ 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);
+       status.backlog = false;
 
        device_handler_status(handler, &status);