X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Fcommon%2Fdiscover-client.c;h=dce74f9080b527a23afc7acd73dcf7b971e04faa;hp=27bba329dbf0478b273139ab76eb97d33bd22ff6;hb=ff7293bba1fd4cdf54bb90bd1b7a38dd393fee69;hpb=9f42e56fc5968fcb34edfad017adb73960c2bb61 diff --git a/ui/common/discover-client.c b/ui/common/discover-client.c index 27bba32..dce74f9 100644 --- a/ui/common/discover-client.c +++ b/ui/common/discover-client.c @@ -131,7 +131,7 @@ void discover_client_enumerate(struct discover_client *client) } static void update_status(struct discover_client *client, - struct boot_status *status) + struct status *status) { if (client->ops.update_status) client->ops.update_status(status, client->ops.cb_arg); @@ -156,8 +156,8 @@ static int discover_client_process(void *arg) struct discover_client *client = arg; struct pb_protocol_message *message; struct system_info *sysinfo; - struct boot_status *status; struct boot_option *opt; + struct status *status; struct config *config; struct device *dev; char *dev_id; @@ -206,7 +206,7 @@ static int discover_client_process(void *arg) device_remove(client, dev_id); break; case PB_PROTOCOL_ACTION_STATUS: - status = talloc_zero(ctx, struct boot_status); + status = talloc_zero(ctx, struct status); rc = pb_protocol_deserialise_boot_status(status, message); if (rc) {