summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Sumrall <ksumrall@android.com>2010-08-14 01:08:03 +0200
committerKen Sumrall <ksumrall@android.com>2010-08-14 04:22:47 +0200
commit8101125ee5068aff91f98c042660cb29576b8612 (patch)
treedc311ab0a7fb8fe2a3cd289935b8470dd5aa4dbc
parentam c4e32005: am 17986e6b: am 8cd9e4f3: fix bug in applying patches (diff)
downloadandroid_bootable_recovery-8101125ee5068aff91f98c042660cb29576b8612.tar
android_bootable_recovery-8101125ee5068aff91f98c042660cb29576b8612.tar.gz
android_bootable_recovery-8101125ee5068aff91f98c042660cb29576b8612.tar.bz2
android_bootable_recovery-8101125ee5068aff91f98c042660cb29576b8612.tar.lz
android_bootable_recovery-8101125ee5068aff91f98c042660cb29576b8612.tar.xz
android_bootable_recovery-8101125ee5068aff91f98c042660cb29576b8612.tar.zst
android_bootable_recovery-8101125ee5068aff91f98c042660cb29576b8612.zip
Diffstat (limited to '')
-rw-r--r--roots.c2
-rw-r--r--updater/install.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/roots.c b/roots.c
index 31f99ac13..5369d2ff2 100644
--- a/roots.c
+++ b/roots.c
@@ -386,7 +386,7 @@ format_root_device(const char *root)
if (strcmp(info->filesystem, "ext4") == 0) {
LOGW("starting to reformat ext4\n");
reset_ext4fs_info();
- int result = make_ext4fs(info->device, NULL, NULL, 0, 0);
+ int result = make_ext4fs(info->device, NULL, NULL, 0, 0, 0);
LOGW("finished reformat ext4: result = %d\n", result);
if (result != 0) {
LOGW("make_ext4fs failed: %d\n", result);
diff --git a/updater/install.c b/updater/install.c
index 6a8c5d401..685b97906 100644
--- a/updater/install.c
+++ b/updater/install.c
@@ -237,7 +237,7 @@ Value* FormatFn(const char* name, State* state, int argc, Expr* argv[]) {
#ifdef USE_EXT4
} else if (strcmp(fs_type, "ext4") == 0) {
reset_ext4fs_info();
- int status = make_ext4fs(location, NULL, NULL, 0, 0);
+ int status = make_ext4fs(location, NULL, NULL, 0, 0, 0);
if (status != 0) {
fprintf(stderr, "%s: make_ext4fs failed (%d) on %s",
name, status, location);