commit | b82df7c8fb33f6104cd1c9cdd9717f27f06e303c | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Feb 24 05:09:26 2019 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Mon Feb 25 12:39:48 2019 +0100 |
tree | ce7ea6e40ab27cdabce6ed2bb2565dd1863d0a98 | |
parent | 3d2257fefbdaaaec4bebdf2cab2778abe674e7a0 [diff] |
efi_loader: fix entry count in bootmgr Since commit 914df75b0c97 ("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: 914df75b0c97 ("efi_loader: fix EFI entry counting") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>