mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
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>
This commit is contained in:
parent
c4574208b0
commit
1a0b4d22a9
1 changed files with 2 additions and 0 deletions
|
@ -154,10 +154,12 @@ static char *dp_media(char *s, struct efi_device_path *dp)
|
||||||
case SIG_TYPE_GUID:
|
case SIG_TYPE_GUID:
|
||||||
s += sprintf(s, "HD(Part%d,Sig%pUl)",
|
s += sprintf(s, "HD(Part%d,Sig%pUl)",
|
||||||
hddp->partition_number, sig);
|
hddp->partition_number, sig);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
s += sprintf(s, "HD(Part%d,MBRType=%02x,SigType=%02x)",
|
s += sprintf(s, "HD(Part%d,MBRType=%02x,SigType=%02x)",
|
||||||
hddp->partition_number, hddp->partmap_type,
|
hddp->partition_number, hddp->partmap_type,
|
||||||
hddp->signature_type);
|
hddp->signature_type);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue