mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
worker: Use ovs_retval_to_string() where EOF is a possible return value.
Found by Coverity. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
@@ -379,7 +379,7 @@ worker_main(int fd)
|
||||
/* Main process closed the IPC socket. Exit cleanly. */
|
||||
break;
|
||||
} else if (error != EAGAIN) {
|
||||
VLOG_FATAL("RPC receive failed (%s)", strerror(error));
|
||||
VLOG_FATAL("RPC receive failed (%s)", ovs_retval_to_string(error));
|
||||
}
|
||||
|
||||
poll_fd_wait(server_sock, POLLIN);
|
||||
|
||||
Reference in New Issue
Block a user