From a25cf5ec4fb7348843bdfb623b81019db2d48030 Mon Sep 17 00:00:00 2001 From: Christopher Lais Date: Sun, 16 Jan 2011 01:38:47 -0600 Subject: [PATCH] Use erase_raw_partition for unknown named partitions Change-Id: I84014a851ebdfb2c228cff43879580a761c22708 --- extendedcommands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extendedcommands.c b/extendedcommands.c index 36e696a..95a5f07 100644 --- a/extendedcommands.c +++ b/extendedcommands.c @@ -418,7 +418,7 @@ int format_unknown_device(const char *device, const char* path, const char *fs_t // device may simply be a name, like "system" if (device[0] != '/') - return erase_partition(device, fs_type); + return erase_raw_partition(device); // if this is SDEXT:, don't worry about it if it does not exist. if (0 == strcmp(path, "/sd-ext"))