2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

socket-util: Avoid using the identical message for different errors

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
YAMAMOTO Takashi
2014-02-24 11:46:21 +09:00
committed by Ben Pfaff
parent 11f9de00a1
commit 909dad2b1f

View File

@@ -753,7 +753,7 @@ inet_open_active(int style, const char *target, uint16_t default_port,
* connect(), the handshake SYN frames will be sent with a TOS of 0. */
error = set_dscp(fd, dscp);
if (error) {
VLOG_ERR("%s: socket: %s", target, sock_strerror(error));
VLOG_ERR("%s: set_dscp: %s", target, sock_strerror(error));
goto exit;
}
@@ -890,7 +890,7 @@ inet_open_passive(int style, const char *target, int default_port,
* connect(), the handshake SYN frames will be sent with a TOS of 0. */
error = set_dscp(fd, dscp);
if (error) {
VLOG_ERR("%s: socket: %s", target, sock_strerror(error));
VLOG_ERR("%s: set_dscp: %s", target, sock_strerror(error));
goto error;
}