diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/fastboot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/fastboot.c b/common/fastboot.c index 2a42fa5b6d..2e84a6f073 100644 --- a/common/fastboot.c +++ b/common/fastboot.c @@ -171,6 +171,8 @@ int fastboot_generic_init(struct fastboot *fb, bool export_bbu) struct file_list_entry *fentry; struct fb_variable *var; + INIT_LIST_HEAD(&fb->variables); + var = fb_addvar(fb, "version"); fb_setvar(var, "0.4"); var = fb_addvar(fb, "bootloader-version"); |