From 909dad2b1fa7cdfa259da2fc5219170ddcf98d56 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 24 Feb 2014 11:46:21 +0900 Subject: [PATCH] socket-util: Avoid using the identical message for different errors Signed-off-by: YAMAMOTO Takashi Signed-off-by: Ben Pfaff --- lib/socket-util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/socket-util.c b/lib/socket-util.c index 728c76e33..54ef9561b 100644 --- a/lib/socket-util.c +++ b/lib/socket-util.c @@ -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; } -- 2.47.0