From f12df71ffbaed27222b679e85da2e2ae95629ad7 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Sat, 1 Jan 2011 18:16:01 -0800 Subject: [PATCH] fix nandroid linkage issue Change-Id: I36998f2e94ad1ead656c6374c551d5e02e2db219 --- nandroid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nandroid.c b/nandroid.c index 60aa564..d49cbab 100644 --- a/nandroid.c +++ b/nandroid.c @@ -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");