diff options
author | Greg Kaiser <gkaiser@google.com> | 2016-03-14 20:15:24 +0100 |
---|---|---|
committer | Greg Kaiser <gkaiser@google.com> | 2016-03-14 20:15:24 +0100 |
commit | f4300bc1269619b74be0a659a496d4ca4ce8b47e (patch) | |
tree | 8530b764c30243f2449e7c9be4ce7bf59c87bbe3 | |
parent | recovery: Remove duplicate variables and functions (diff) | |
download | android_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 |
-rw-r--r-- | otafault/ota_io.cpp | 2 |
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) { |