mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 04:55:18 +00:00
Coverity: Resolve a CHECKED_RETURN message
Recent changes to the module seemed to have caused Coverity to find a new issue regarding the failure to check the return from a sendmsg. The code doesn't seem to care about the return status, so just added an ignore_value to keep Coverity quiet.
This commit is contained in:
parent
ff436380bc
commit
b2e4ace220
@ -1003,7 +1003,7 @@ virLogOutputToJournald(virLogSourcePtr source,
|
||||
|
||||
mh.msg_controllen = cmsg->cmsg_len;
|
||||
|
||||
sendmsg(journalfd, &mh, MSG_NOSIGNAL);
|
||||
ignore_value(sendmsg(journalfd, &mh, MSG_NOSIGNAL));
|
||||
|
||||
cleanup:
|
||||
VIR_LOG_CLOSE(buffd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user