summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kaiser <gkaiser@google.com>2016-03-14 20:15:24 +0100
committerGreg Kaiser <gkaiser@google.com>2016-03-14 20:15:24 +0100
commitf4300bc1269619b74be0a659a496d4ca4ce8b47e (patch)
tree8530b764c30243f2449e7c9be4ce7bf59c87bbe3
parentrecovery: Remove duplicate variables and functions (diff)
downloadandroid_bootable_recovery-f4300bc1269619b74be0a659a496d4ca4ce8b47e.tar
android_bootable_recovery-f4300bc1269619b74be0a659a496d4ca4ce8b47e.tar.gz
android_bootable_recovery-f4300bc1269619b74be0a659a496d4ca4ce8b47e.tar.bz2
android_bootable_recovery-f4300bc1269619b74be0a659a496d4ca4ce8b47e.tar.lz
android_bootable_recovery-f4300bc1269619b74be0a659a496d4ca4ce8b47e.tar.xz
android_bootable_recovery-f4300bc1269619b74be0a659a496d4ca4ce8b47e.tar.zst
android_bootable_recovery-f4300bc1269619b74be0a659a496d4ca4ce8b47e.zip
Diffstat (limited to '')
-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) {