summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kaiser <gkaiser@google.com>2016-03-14 21:44:35 +0100
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-03-14 21:44:36 +0100
commit0222db01fdc148e52b2f9534e599e3dafeb65571 (patch)
tree301405afcb2c8947072b69d741ad39ac4a652da0
parentMerge "Port applypatch.sh tests to recovery_component_tests" into nyc-dev (diff)
parentotafault: Fix setting of have_eio_error. (diff)
downloadandroid_bootable_recovery-0222db01fdc148e52b2f9534e599e3dafeb65571.tar
android_bootable_recovery-0222db01fdc148e52b2f9534e599e3dafeb65571.tar.gz
android_bootable_recovery-0222db01fdc148e52b2f9534e599e3dafeb65571.tar.bz2
android_bootable_recovery-0222db01fdc148e52b2f9534e599e3dafeb65571.tar.lz
android_bootable_recovery-0222db01fdc148e52b2f9534e599e3dafeb65571.tar.xz
android_bootable_recovery-0222db01fdc148e52b2f9534e599e3dafeb65571.tar.zst
android_bootable_recovery-0222db01fdc148e52b2f9534e599e3dafeb65571.zip
-rw-r--r--otafault/ota_io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/otafault/ota_io.cpp b/otafault/ota_io.cpp
index a37804088..9434ebea3 100644
--- a/otafault/ota_io.cpp
+++ b/otafault/ota_io.cpp
@@ -189,8 +189,8 @@ int ota_fsync(int fd) {
&& FilenameCache[fd] == FaultFileName) {
FaultFileName = "";
errno = EIO;
- return -1;
have_eio_error = true;
+ return -1;
} else {
int status = fsync(fd);
if (status == -1 && errno == EIO) {