commit | 4187347329543d168d45193bb6e086031b967e82 | [log] [tgz] |
---|---|---|
author | Koushik Dutta <koushd@gmail.com> | Thu May 26 17:30:43 2011 -0700 |
committer | Koushik Dutta <koushd@gmail.com> | Thu May 26 17:30:43 2011 -0700 |
tree | 4657630fc3e98bb5583c1f19b529b9775d7f1760 | |
parent | 7adeadce47e326e88b4cf7e8d51b3aec9740a511 [diff] [blame] |
fix formatting Change-Id: Ic6162e5044b50544fab2d5aa83e1e22f373419d7
diff --git a/extendedcommands.c b/extendedcommands.c index bafa552..6799b2d 100644 --- a/extendedcommands.c +++ b/extendedcommands.c
@@ -423,7 +423,7 @@ LOGI("Formatting unknown device.\n"); // device may simply be a name, like "system" - if (device[0] != '/') + if (get_flash_type(fs_type) != UNSUPPORTED) return erase_raw_partition(fs_type, device); // if this is SDEXT:, don't worry about it if it does not exist.