projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
efi_loader: Fix efi_install_configuration_table
[platform/kernel/u-boot.git]
/
lib
/
efi_loader
/
efi_boottime.c
diff --git
a/lib/efi_loader/efi_boottime.c
b/lib/efi_loader/efi_boottime.c
index
51961d2
..
17f1927
100644
(file)
--- a/
lib/efi_loader/efi_boottime.c
+++ b/
lib/efi_loader/efi_boottime.c
@@
-395,7
+395,7
@@
efi_status_t efi_install_configuration_table(const efi_guid_t *guid, void *table
/* Add a new entry */
memcpy(&efi_conf_table[i].guid, guid, sizeof(*guid));
efi_conf_table[i].table = table;
- systab.nr_tables = i;
+ systab.nr_tables = i
+ 1
;
return EFI_SUCCESS;
}