diff options
author | Greg Kaiser <gkaiser@google.com> | 2016-03-14 21:44:35 +0100 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2016-03-14 21:44:36 +0100 |
commit | 0222db01fdc148e52b2f9534e599e3dafeb65571 (patch) | |
tree | 301405afcb2c8947072b69d741ad39ac4a652da0 /otafault | |
parent | Merge "Port applypatch.sh tests to recovery_component_tests" into nyc-dev (diff) | |
parent | otafault: Fix setting of have_eio_error. (diff) | |
download | android_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 |
Diffstat (limited to 'otafault')
-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) { |