Fix: unchecked posix_fadvise() return value
authorJérémie Galarneau <jeremie.galarneau@gmail.com>
Tue, 17 May 2016 16:17:05 +0000 (12:17 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 May 2016 19:16:49 +0000 (15:16 -0400)
commite2f6bedf440b97836d57c16d2d324e694d31ef33
tree2397b50e23e25f194310fe1e5d978a0db9152a69
parenta9aa7c779a710ec3bfbd5e34fafd24623ccda067
Fix: unchecked posix_fadvise() return value

Found by Coverity:

CID 1019971 (#1 of 1): Unchecked return value from library
(CHECKED_RETURN)2. check_return: Calling posix_fadvise(outfd,
orig_offset - stream->max_sb_size, stream->max_sb_size, 4) without
checking return value. This library function may fail and return an
error code.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer.c
This page took 0.028416 seconds and 4 git commands to generate.