From b86e06f415b2e52599da81cfbc8fe7168b2b9b3b Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sat, 29 Oct 2016 08:07:11 +0200 Subject: [PATCH] Update to latest coverity scan --- cmdline/stream.c | 1 + makescan.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmdline/stream.c b/cmdline/stream.c index 81834043..eeac1311 100644 --- a/cmdline/stream.c +++ b/cmdline/stream.c @@ -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; } diff --git a/makescan.sh b/makescan.sh index 918c7544..5bad29cd 100755 --- a/makescan.sh +++ b/makescan.sh @@ -14,7 +14,7 @@ if ! ./configure ; then exit 1 fi -export PATH=$PATH:contrib/cov-analysis-linux-7.7.0.4/bin +export PATH=$PATH:contrib/cov-analysis-linux-8.5.0.1/bin if ! cov-build --dir cov-int make; then exit 1