summaryrefslogtreecommitdiffstats
path: root/applypatch/applypatch.cpp
diff options
context:
space:
mode:
authorBill Peckham <bpeckham@google.com>2019-09-18 02:11:50 +0200
committerBill Peckham <bpeckham@google.com>2019-10-04 02:04:56 +0200
commit341644d657d84de0b7a2299d311503ea71418af3 (patch)
tree9087ea25901efd23478bda2349f41c42f3987c38 /applypatch/applypatch.cpp
parentMerge "recovery_utils: Use libvoid_headers." (diff)
downloadandroid_bootable_recovery-341644d657d84de0b7a2299d311503ea71418af3.tar
android_bootable_recovery-341644d657d84de0b7a2299d311503ea71418af3.tar.gz
android_bootable_recovery-341644d657d84de0b7a2299d311503ea71418af3.tar.bz2
android_bootable_recovery-341644d657d84de0b7a2299d311503ea71418af3.tar.lz
android_bootable_recovery-341644d657d84de0b7a2299d311503ea71418af3.tar.xz
android_bootable_recovery-341644d657d84de0b7a2299d311503ea71418af3.tar.zst
android_bootable_recovery-341644d657d84de0b7a2299d311503ea71418af3.zip
Diffstat (limited to 'applypatch/applypatch.cpp')
-rw-r--r--applypatch/applypatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/applypatch/applypatch.cpp b/applypatch/applypatch.cpp
index 336860cb9..adda6976d 100644
--- a/applypatch/applypatch.cpp
+++ b/applypatch/applypatch.cpp
@@ -279,7 +279,7 @@ bool PatchPartition(const Partition& target, const Partition& source, const Valu
}
FileContents source_file;
- if (ReadPartitionToBuffer(source, &source_file, true)) {
+ if (ReadPartitionToBuffer(source, &source_file, backup_source)) {
return GenerateTarget(target, source_file, patch, bonus, backup_source);
}