summaryrefslogtreecommitdiffstats
path: root/Volume.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Volume.cpp')
-rw-r--r--Volume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Volume.cpp b/Volume.cpp
index 83c1c0e..07b96a2 100644
--- a/Volume.cpp
+++ b/Volume.cpp
@@ -194,7 +194,7 @@ int Volume::formatVol() {
sprintf(devicePath, "/dev/block/vold/%d:%d",
MAJOR(partNode), MINOR(partNode));
- if (Fat::format(devicePath)) {
+ if (Fat::format(devicePath, 0)) {
LOGE("Failed to format (%s)", strerror(errno));
goto err;
}