Skip to content
Commit ccecc345 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_loader: fix entry count in bootmgr



Since commit 914df75b ("efi_loader: fix EFI entry counting")
entry_count is already set to 1 before efi_bootmgr_load() is called. So we
should not increment it when entering the function.

Without the patch an assert error occurs in efi_get_variable() if DEBUG is
defined.

Fixes: 914df75b ("efi_loader: fix EFI entry counting")
Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 33e44971
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment