disk: part: Print out the unknown device uclass id
It's helpful to output the device uclass id for unknown devices during the debugging process. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -337,7 +337,7 @@ static void print_part_header(const char *type, struct blk_desc *desc)
|
|||||||
puts("EFI");
|
puts("EFI");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
puts("UNKNOWN");
|
printf("UNKNOWN(%d)", desc->uclass_id);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
printf (" device %d -- Partition Type: %s\n\n",
|
printf (" device %d -- Partition Type: %s\n\n",
|
||||||
|
Reference in New Issue
Block a user