fix wimax

Change-Id: Ieff7638293e01546baf382d9c8a5b798cff46331
This commit is contained in:
Koushik Dutta 2011-01-01 18:17:48 -08:00
parent f12df71ffb
commit a25deae3ef

View File

@ -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)))