fix build

Change-Id: I3701f71ed9ecf5b6879e12ab6f618d5b678ef2f3
This commit is contained in:
Koushik Dutta 2011-06-14 23:44:39 -07:00
parent 55e5e7b59a
commit fcb87af735

View File

@ -288,7 +288,7 @@ int format_volume(const char* volume) {
if (v == NULL) {
// no /sdcard? let's assume /data/media
if (strstr(path, "/sdcard") == path && is_data_media()) {
return format_unknown_device(volume);
return format_unknown_device(v->device, volume, NULL);
}
// silent failure for sd-ext
if (strcmp(volume, "/sd-ext") == 0)