summaryrefslogtreecommitdiffstats
path: root/applypatch/applypatch_modes.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-09-23 19:28:54 +0200
committerTao Bao <tbao@google.com>2019-09-23 20:26:48 +0200
commit5234ad466c7006430fcd62f0f0ceeb768da5ec93 (patch)
treeb7ab0af76118d4227d58c098c5db7991ece384b9 /applypatch/applypatch_modes.cpp
parentapplypatch: Use static libs for libbrotli and libbz. (diff)
downloadandroid_bootable_recovery-5234ad466c7006430fcd62f0f0ceeb768da5ec93.tar
android_bootable_recovery-5234ad466c7006430fcd62f0f0ceeb768da5ec93.tar.gz
android_bootable_recovery-5234ad466c7006430fcd62f0f0ceeb768da5ec93.tar.bz2
android_bootable_recovery-5234ad466c7006430fcd62f0f0ceeb768da5ec93.tar.lz
android_bootable_recovery-5234ad466c7006430fcd62f0f0ceeb768da5ec93.tar.xz
android_bootable_recovery-5234ad466c7006430fcd62f0f0ceeb768da5ec93.tar.zst
android_bootable_recovery-5234ad466c7006430fcd62f0f0ceeb768da5ec93.zip
Diffstat (limited to 'applypatch/applypatch_modes.cpp')
-rw-r--r--applypatch/applypatch_modes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/applypatch/applypatch_modes.cpp b/applypatch/applypatch_modes.cpp
index b46659808..bb5eeae9d 100644
--- a/applypatch/applypatch_modes.cpp
+++ b/applypatch/applypatch_modes.cpp
@@ -87,7 +87,7 @@ static int PatchMode(const std::string& target_emmc, const std::string& source_e
bonus = std::make_unique<Value>(Value::Type::BLOB, std::move(bonus_contents));
}
- return PatchPartition(target, source, patch, bonus.get()) ? 0 : 1;
+ return PatchPartition(target, source, patch, bonus.get(), false) ? 0 : 1;
}
static void Usage() {