Merge "otafault: Fix setting of have_eio_error." into nyc-dev
This commit is contained in:
commit
0222db01fd
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue