diff options
| author | Bin Meng <[email protected]> | 2023-09-26 16:43:44 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-10-10 16:30:44 -0400 |
| commit | 893e67883b0889b4cc4090664117e5b312ac7ff6 (patch) | |
| tree | 29d8582d9fb68576a4ef07833fd7a0603670f06e /disk | |
| parent | 94a846298ed5e0399099977b5b11f13d46c22f3f (diff) | |
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'disk')
| -rw-r--r-- | disk/part.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk/part.c b/disk/part.c index 72241b7b232..91275154001 100644 --- a/disk/part.c +++ b/disk/part.c @@ -337,7 +337,7 @@ static void print_part_header(const char *type, struct blk_desc *desc) puts("EFI"); break; default: - puts("UNKNOWN"); + printf("UNKNOWN(%d)", desc->uclass_id); break; } printf (" device %d -- Partition Type: %s\n\n", |
