commit | f12df71ffbaed27222b679e85da2e2ae95629ad7 | [log] [tgz] |
---|---|---|
author | Koushik Dutta <koushd@gmail.com> | Sat Jan 01 18:16:01 2011 -0800 |
committer | Koushik Dutta <koushd@gmail.com> | Sat Jan 01 18:16:01 2011 -0800 |
tree | 2f93f8321b3abfcc420bddb7a3eb3c5f42ffe4b2 | |
parent | 3affbec593988378e6833694c0a0e32fbde56e5a [diff] [blame] |
fix nandroid linkage issue Change-Id: I36998f2e94ad1ead656c6374c551d5e02e2db219
diff --git a/nandroid.c b/nandroid.c index 60aa564..d49cbab 100644 --- a/nandroid.c +++ b/nandroid.c
@@ -286,7 +286,7 @@ 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");