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

Commit e8101c04 authored by Nick Kralevich's avatar Nick Kralevich Committed by Gerrit Code Review
Browse files

Merge "fix compiler error under FORTIFY_SOURCE=2"

parents e60077e6 9709a1f0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -337,7 +337,9 @@ bool ObbFile::removeFrom(int fd)
        return false;
    }

    ftruncate(fd, mFooterStart);
    if (ftruncate(fd, mFooterStart) == -1) {
        return false;
    }

    return true;
}