switch (type) {
case DEVICE_TYPE_DISK:
return "disk";
+ case DEVICE_TYPE_USB:
+ return "usb";
case DEVICE_TYPE_NETWORK:
return "network";
case DEVICE_TYPE_OPTICAL:
printf("\tname: %s\n", device->name);
}
-static void print_status(struct boot_status *status,
+static void print_status(struct status *status,
void __attribute__((unused)) *arg)
{
printf("status:\n");
printf("\ttype: %d\n", status->type);
printf("\tmessage: %s\n", status->message);
- printf("\tdetail: %s\n", status->detail);
- printf("\tprogress: %d\n", status->progress);
}