diff options
author | Rob Clark <robdclark@gmail.com> | 2017-11-30 09:02:45 -0500 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2017-12-01 22:29:02 +0100 |
commit | 1a0b4d22a99f9b296528118dec8211490f166ef9 (patch) | |
tree | 4716513bda9e6809ce211812f77169269d24d8b8 /lib/efi_loader | |
parent | c4574208b0bc7aa7d50407250074b1651de3c84c (diff) | |
download | u-boot-1a0b4d22a99f9b296528118dec8211490f166ef9.tar.gz |
efi_loader: add missing breaks
Otherwise with GUID partition types you would end up with things like:
.../HD(Part0,Sig6252c819-4624-4995-8d16-abc9cd5d4130)/HD(Part0,MBRType=02,SigType=02)
Signed-off-by: Rob Clark <robdclark@gmail.com>
[agraf: rebased]
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_loader')
-rw-r--r-- | lib/efi_loader/efi_device_path_to_text.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_device_path_to_text.c b/lib/efi_loader/efi_device_path_to_text.c index 9e62e4a929..7159c974d4 100644 --- a/lib/efi_loader/efi_device_path_to_text.c +++ b/lib/efi_loader/efi_device_path_to_text.c @@ -154,10 +154,12 @@ static char *dp_media(char *s, struct efi_device_path *dp) case SIG_TYPE_GUID: s += sprintf(s, "HD(Part%d,Sig%pUl)", hddp->partition_number, sig); + break; default: s += sprintf(s, "HD(Part%d,MBRType=%02x,SigType=%02x)", hddp->partition_number, hddp->partmap_type, hddp->signature_type); + break; } break; |