diff options
author | Susant Sahani <susant@redhat.com> | 2014-11-11 13:36:31 +0530 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-11-17 10:57:00 +0100 |
commit | 9593d9d9d505d38b1b0fb3d492268d513f228b88 (patch) | |
tree | e1007aa1eb082cf6a2119d7771e615a794c9a543 /src/shared | |
parent | c9732bae8f29be644e7b4b1cc4f738ef85477c72 (diff) |
log: unchecked return value from library
fix 1237557 Unchecked return value from library
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/log.c b/src/shared/log.c index 1c589ac467..d465311d02 100644 --- a/src/shared/log.c +++ b/src/shared/log.c @@ -122,7 +122,7 @@ static int create_log_socket(int type) { timeval_store(&tv, 10 * USEC_PER_MSEC); else timeval_store(&tv, 10 * USEC_PER_SEC); - setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv)); + (void)setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv)); return fd; } |