From a25deae3efa817019cc2736b474bfd0b6fc5126f Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Sat, 1 Jan 2011 18:17:48 -0800 Subject: [PATCH] fix wimax Change-Id: Ieff7638293e01546baf382d9c8a5b798cff46331 --- nandroid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nandroid.c b/nandroid.c index d49cbab..f1564dc 100644 --- a/nandroid.c +++ b/nandroid.c @@ -316,7 +316,7 @@ int nandroid_restore(const char* backup_path, int restore_boot, int restore_syst else { ui_print("Erasing WiMAX before restore...\n"); - if (0 != (ret = format_device("wimax"))) + if (0 != (ret = format_volume("/wimax"))) return print_and_error("Error while formatting wimax!\n"); ui_print("Restoring WiMAX image...\n"); if (0 != (ret = restore_raw_partition("wimax", tmp)))