summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-09-13 22:53:53 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-09-13 22:53:53 +0200
commit6e7df82c7ba4b868487d638e641e3ba62b12211e (patch)
tree4e9b138c4234d80b88cc856effa3f55e340044f5 /install.cpp
parentMerge "Close cmd_pipe properly after updater test finishes" (diff)
parentRemove EXPAND/STRINGIFY macros. (diff)
downloadandroid_bootable_recovery-6e7df82c7ba4b868487d638e641e3ba62b12211e.tar
android_bootable_recovery-6e7df82c7ba4b868487d638e641e3ba62b12211e.tar.gz
android_bootable_recovery-6e7df82c7ba4b868487d638e641e3ba62b12211e.tar.bz2
android_bootable_recovery-6e7df82c7ba4b868487d638e641e3ba62b12211e.tar.lz
android_bootable_recovery-6e7df82c7ba4b868487d638e641e3ba62b12211e.tar.xz
android_bootable_recovery-6e7df82c7ba4b868487d638e641e3ba62b12211e.tar.zst
android_bootable_recovery-6e7df82c7ba4b868487d638e641e3ba62b12211e.zip
Diffstat (limited to 'install.cpp')
-rw-r--r--install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.cpp b/install.cpp
index 586dbbe2c..507161c2e 100644
--- a/install.cpp
+++ b/install.cpp
@@ -290,7 +290,7 @@ int update_binary_command(const std::string& package, ZipArchiveHandle zip,
*cmd = {
binary_path,
- EXPAND(RECOVERY_API_VERSION), // defined in Android.mk
+ std::to_string(kRecoveryApiVersion),
std::to_string(status_fd),
package,
};