diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/fastboot.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/fastboot.c b/common/fastboot.c index a394d07e28..c8576a8d97 100644 --- a/common/fastboot.c +++ b/common/fastboot.c @@ -158,10 +158,12 @@ static int fastboot_add_bbu_variables(struct bbu_handler *handler, void *ctx) name = basprintf("bbu-%s", handler->name); ret = file_list_add_entry(fb->files, name, handler->devicefile, 0); + if (ret) + pr_warn("duplicate partition name %s\n", name); free(name); - return ret; + return 0; } int fastboot_generic_init(struct fastboot *fb, bool export_bbu) |