efi_loader: use efi_create_indexed_name()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 24 May 2021 08:57:03 +0000 (10:57 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 25 May 2021 11:06:58 +0000 (13:06 +0200)
commit2ecee31017bf7fb538b4749a3763802b8f825dac
tree87f51972e864d43f534d7dc7966ab7ec2a692f6f
parent60177e0ac2a35e9bc878e12d7a5c7f55afe1a7f9
efi_loader: use efi_create_indexed_name()

Simplify the creation of indexed variable names like 'Boot0000' by using
function efi_create_indexed_name().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/efidebug.c