Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0222db01 authored by Greg Kaiser's avatar Greg Kaiser Committed by Android (Google) Code Review
Browse files

Merge "otafault: Fix setting of have_eio_error." into nyc-dev

parents 761653a4 f4300bc1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {