]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: partition numbers are hexadecimal
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 25 May 2021 16:00:13 +0000 (18:00 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 8 Jun 2021 22:16:39 +0000 (00:16 +0200)
commit3dca77b1dc1b6dbf9c8b51572fe4b0553cef009f
tree7b47d1e10ef56c45cd23ed85bb90aa16d83d5e7b
parent6a1d65e59f43ffcaf19fc75fd272bc4cc6dbe85d
efi_loader: partition numbers are hexadecimal

If we want to address partition 15 of virtio block device 11, we have to
write:

virtio b:f

When calling sprintf() we must use %x for the device and partition numbers.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_disk.c
lib/efi_loader/efi_var_file.c