diff --git a/sched/sched_util_basic.cpp b/sched/sched_util_basic.cpp index b85bf8074b..5c721d2592 100644 --- a/sched/sched_util_basic.cpp +++ b/sched/sched_util_basic.cpp @@ -232,6 +232,7 @@ int mylockf(int fd) { // if lock failed, find out why errno=0; + // coverity[check_return] fcntl(fd, F_GETLK, &fl); if (fl.l_pid>0) return fl.l_pid; return -1;