am 05ad674a: am 00e165ae: am e8101c04: Merge "fix compiler error under FORTIFY_SOURCE=2"

* commit '05ad674aa888e3f9217de0e5c3176161dd8e31aa':
  fix compiler error under FORTIFY_SOURCE=2
This commit is contained in:
Nick Kralevich
2015-04-25 22:05:25 +00:00
committed by Android Git Automerger

View File

@@ -337,7 +337,9 @@ bool ObbFile::removeFrom(int fd)
return false;
}
ftruncate(fd, mFooterStart);
if (ftruncate(fd, mFooterStart) == -1) {
return false;
}
return true;
}