summaryrefslogtreecommitdiffstats
path: root/updater/updater.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-05-07 01:45:16 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-05-07 01:45:16 +0200
commit9423d2f6b7efcc94679ecdda5c5ca15039407d6b (patch)
tree1284c020d0c3ed532f72ee1702b424339016871c /updater/updater.cpp
parentMerge "Disable libbootloader_message for darwin" (diff)
parentTrack libziparchive API change. (diff)
downloadandroid_bootable_recovery-9423d2f6b7efcc94679ecdda5c5ca15039407d6b.tar
android_bootable_recovery-9423d2f6b7efcc94679ecdda5c5ca15039407d6b.tar.gz
android_bootable_recovery-9423d2f6b7efcc94679ecdda5c5ca15039407d6b.tar.bz2
android_bootable_recovery-9423d2f6b7efcc94679ecdda5c5ca15039407d6b.tar.lz
android_bootable_recovery-9423d2f6b7efcc94679ecdda5c5ca15039407d6b.tar.xz
android_bootable_recovery-9423d2f6b7efcc94679ecdda5c5ca15039407d6b.tar.zst
android_bootable_recovery-9423d2f6b7efcc94679ecdda5c5ca15039407d6b.zip
Diffstat (limited to 'updater/updater.cpp')
-rw-r--r--updater/updater.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/updater/updater.cpp b/updater/updater.cpp
index 7b5a3f938..a020699ca 100644
--- a/updater/updater.cpp
+++ b/updater/updater.cpp
@@ -101,9 +101,8 @@ int main(int argc, char** argv) {
return 3;
}
- ZipString script_name(SCRIPT_NAME);
ZipEntry script_entry;
- int find_err = FindEntry(za, script_name, &script_entry);
+ int find_err = FindEntry(za, SCRIPT_NAME, &script_entry);
if (find_err != 0) {
LOG(ERROR) << "failed to find " << SCRIPT_NAME << " in " << package_filename << ": "
<< ErrorCodeString(find_err);