Update to latest coverity scan

This commit is contained in:
Andrea Mazzoleni 2016-10-29 08:07:11 +02:00
parent 272853e40a
commit b86e06f415
2 changed files with 2 additions and 1 deletions

View file

@ -48,6 +48,7 @@ STREAM* sopen_read(const char* file)
/* advise sequential access */
ret = posix_fadvise(s->handle[0].f, 0, 0, POSIX_FADV_SEQUENTIAL);
if (ret == ENOSYS) {
log_fatal("WARNING! fadvise() is not supported in this platform. Performance may not be optimal!\n");
/* call is not supported, like in armhf, see posix_fadvise manpage */
ret = 0;
}