efi_loader: text output for device path end node
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 14 Jan 2018 16:05:57 +0000 (17:05 +0100)
committerAlexander Graf <agraf@suse.de>
Mon, 22 Jan 2018 22:09:12 +0000 (23:09 +0100)
commit3c950b31782db4c8643cdbc449d023ef37b8cb23
tree3e14ee8ef5e51bdbbc270ee060c5d56a56980f45
parentbc0bd77ed4238295bb0355f4c2d678388a80955a
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>
lib/efi_loader/efi_device_path_to_text.c