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

Commit a0427c41 authored by Kelvin Zhang's avatar Kelvin Zhang Committed by Gerrit Code Review
Browse files

Merge "Set output value in error case"

parents 7cf627ba 451dfee3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -195,7 +195,7 @@ AvbIOResult FsManagerAvbOps::GetSizeOfPartition(const char* partition,
    }
    int err = ioctl(fd, BLKGETSIZE64, out_size_num_byte);
    if (err) {
        out_size_num_byte = 0;
        *out_size_num_byte = 0;
        return AVB_IO_RESULT_ERROR_IO;
    }
    return AVB_IO_RESULT_OK;