commit | 0222db01fdc148e52b2f9534e599e3dafeb65571 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Mon Mar 14 20:44:35 2016 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon Mar 14 20:44:36 2016 +0000 |
tree | 301405afcb2c8947072b69d741ad39ac4a652da0 | |
parent | 761653a4ad1c392fcd505e8909661fd64f02ce97 [diff] | |
parent | f4300bc1269619b74be0a659a496d4ca4ce8b47e [diff] |
Merge "otafault: Fix setting of have_eio_error." into nyc-dev
diff --git a/otafault/ota_io.cpp b/otafault/ota_io.cpp index a378040..9434ebe 100644 --- a/otafault/ota_io.cpp +++ b/otafault/ota_io.cpp
@@ -189,8 +189,8 @@ && FilenameCache[fd] == FaultFileName) { FaultFileName = ""; errno = EIO; - return -1; have_eio_error = true; + return -1; } else { int status = fsync(fd); if (status == -1 && errno == EIO) {