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

Commit 00e165ae authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am e8101c04: Merge "fix compiler error under FORTIFY_SOURCE=2"

* commit 'e8101c04':
  fix compiler error under FORTIFY_SOURCE=2
parents d639a453 e8101c04
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;
}