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