fix nandroid linkage issue
Change-Id: I36998f2e94ad1ead656c6374c551d5e02e2db219
This commit is contained in:
parent
3affbec593
commit
f12df71ffb
@ -286,7 +286,7 @@ int nandroid_restore(const char* backup_path, int restore_boot, int restore_syst
|
||||
if (restore_boot)
|
||||
{
|
||||
ui_print("Erasing boot before restore...\n");
|
||||
if (0 != (ret = format_device("boot")))
|
||||
if (0 != (ret = format_volume("/boot")))
|
||||
return print_and_error("Error while formatting BOOT:!\n");
|
||||
sprintf(tmp, "%s/boot.img", backup_path);
|
||||
ui_print("Restoring boot image...\n");
|
||||
|
Loading…
Reference in New Issue
Block a user