fix build
Change-Id: I3701f71ed9ecf5b6879e12ab6f618d5b678ef2f3
This commit is contained in:
parent
55e5e7b59a
commit
fcb87af735
2
roots.c
2
roots.c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user