summaryrefslogtreecommitdiffstats
path: root/applypatch/main.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-02-14 00:18:19 +0100
committerDoug Zongker <dougz@android.com>2014-02-14 00:18:19 +0100
commita1bc148c7c81f886426c253f2ea7beb0f301f6b0 (patch)
tree2ece82d93c5be1f793d8cf1d475dcd5d2cab442a /applypatch/main.c
parentadd syspatch support to updater (diff)
downloadandroid_bootable_recovery-a1bc148c7c81f886426c253f2ea7beb0f301f6b0.tar
android_bootable_recovery-a1bc148c7c81f886426c253f2ea7beb0f301f6b0.tar.gz
android_bootable_recovery-a1bc148c7c81f886426c253f2ea7beb0f301f6b0.tar.bz2
android_bootable_recovery-a1bc148c7c81f886426c253f2ea7beb0f301f6b0.tar.lz
android_bootable_recovery-a1bc148c7c81f886426c253f2ea7beb0f301f6b0.tar.xz
android_bootable_recovery-a1bc148c7c81f886426c253f2ea7beb0f301f6b0.tar.zst
android_bootable_recovery-a1bc148c7c81f886426c253f2ea7beb0f301f6b0.zip
Diffstat (limited to '')
-rw-r--r--applypatch/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/applypatch/main.c b/applypatch/main.c
index f61db5d9e..8e9fe80ef 100644
--- a/applypatch/main.c
+++ b/applypatch/main.c
@@ -74,7 +74,7 @@ static int ParsePatchArgs(int argc, char** argv,
(*patches)[i] = NULL;
} else {
FileContents fc;
- if (LoadFileContents(colon, &fc, RETOUCH_DONT_MASK) != 0) {
+ if (LoadFileContents(colon, &fc) != 0) {
goto abort;
}
(*patches)[i] = malloc(sizeof(Value));
@@ -103,7 +103,7 @@ int PatchMode(int argc, char** argv) {
Value* bonus = NULL;
if (argc >= 3 && strcmp(argv[1], "-b") == 0) {
FileContents fc;
- if (LoadFileContents(argv[2], &fc, RETOUCH_DONT_MASK) != 0) {
+ if (LoadFileContents(argv[2], &fc) != 0) {
printf("failed to load bonus file %s\n", argv[2]);
return 1;
}