summaryrefslogtreecommitdiffstats
path: root/updater/updater.cpp
diff options
context:
space:
mode:
authorJed Estep <jestep@google.com>2015-12-16 01:04:53 +0100
committerTao Bao <tbao@google.com>2016-02-23 02:31:12 +0100
commit39c1b5e8722dbf0bbb3ee45e201373099f075345 (patch)
treedbc2fe28fe04f57cea5268b1b00d5db3220fdf29 /updater/updater.cpp
parentMerge "Fix minui cleanup path on error." (diff)
downloadandroid_bootable_recovery-39c1b5e8722dbf0bbb3ee45e201373099f075345.tar
android_bootable_recovery-39c1b5e8722dbf0bbb3ee45e201373099f075345.tar.gz
android_bootable_recovery-39c1b5e8722dbf0bbb3ee45e201373099f075345.tar.bz2
android_bootable_recovery-39c1b5e8722dbf0bbb3ee45e201373099f075345.tar.lz
android_bootable_recovery-39c1b5e8722dbf0bbb3ee45e201373099f075345.tar.xz
android_bootable_recovery-39c1b5e8722dbf0bbb3ee45e201373099f075345.tar.zst
android_bootable_recovery-39c1b5e8722dbf0bbb3ee45e201373099f075345.zip
Diffstat (limited to 'updater/updater.cpp')
-rw-r--r--updater/updater.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/updater/updater.cpp b/updater/updater.cpp
index 0f22e6d04..efb4a8cec 100644
--- a/updater/updater.cpp
+++ b/updater/updater.cpp
@@ -25,6 +25,7 @@
#include "blockimg.h"
#include "minzip/Zip.h"
#include "minzip/SysUtil.h"
+#include "config.h"
// Generated by the makefile, this function defines the
// RegisterDeviceExtensions() function, which calls all the
@@ -82,6 +83,7 @@ int main(int argc, char** argv) {
argv[3], strerror(err));
return 3;
}
+ ota_io_init(&za);
const ZipEntry* script_entry = mzFindZipEntry(&za, SCRIPT_NAME);
if (script_entry == NULL) {