summaryrefslogtreecommitdiffstats
path: root/updater/updater.cpp
diff options
context:
space:
mode:
authorJed Estep <jestep@google.com>2015-12-16 01:04:53 +0100
committerJed Estep <jestep@google.com>2016-03-16 20:36:57 +0100
commitf73abf36bcfd433a3fdd1664a77e8e531346c1b1 (patch)
tree235463175ed36f8657848845f51aeb0eaa87e295 /updater/updater.cpp
parentMerge "otafault: Fix setting of have_eio_error." into nyc-dev (diff)
downloadandroid_bootable_recovery-f73abf36bcfd433a3fdd1664a77e8e531346c1b1.tar
android_bootable_recovery-f73abf36bcfd433a3fdd1664a77e8e531346c1b1.tar.gz
android_bootable_recovery-f73abf36bcfd433a3fdd1664a77e8e531346c1b1.tar.bz2
android_bootable_recovery-f73abf36bcfd433a3fdd1664a77e8e531346c1b1.tar.lz
android_bootable_recovery-f73abf36bcfd433a3fdd1664a77e8e531346c1b1.tar.xz
android_bootable_recovery-f73abf36bcfd433a3fdd1664a77e8e531346c1b1.tar.zst
android_bootable_recovery-f73abf36bcfd433a3fdd1664a77e8e531346c1b1.zip
Diffstat (limited to '')
-rw-r--r--updater/updater.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/updater/updater.cpp b/updater/updater.cpp
index ddc01e125..1693fa1db 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
@@ -84,6 +85,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) {