From fcb87af7351e71c343188e20ea0b4457e32f2e01 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Tue, 14 Jun 2011 23:44:39 -0700 Subject: [PATCH] fix build Change-Id: I3701f71ed9ecf5b6879e12ab6f618d5b678ef2f3 --- roots.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roots.c b/roots.c index 6d76aa8..386d5fa 100644 --- a/roots.c +++ b/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)