mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
efi_loader: text output for device path end node
Without the patch a device path consisting only of an end node is displayed as '/UNKNOWN(007f,00ff)'. It should be displayed as '/'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
bc0bd77ed4
commit
3c950b3178
1 changed files with 2 additions and 0 deletions
|
@ -245,6 +245,8 @@ static char *efi_convert_single_device_node_to_text(
|
|||
case DEVICE_PATH_TYPE_MEDIA_DEVICE:
|
||||
str = dp_media(str, dp);
|
||||
break;
|
||||
case DEVICE_PATH_TYPE_END:
|
||||
break;
|
||||
default:
|
||||
str = dp_unknown(str, dp);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue