summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-07-11 11:45:10 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-07-11 11:45:10 +0200
commitdc309b7fa48bf013c28c120fa26110c23726047d (patch)
tree0d720b0fbeae259877a2701203ede8c3bb55bf02
parentef4c7fe7e6c413494b52330a3c62158b6f2ca884 (diff)
downloadrsyslog-dc309b7fa48bf013c28c120fa26110c23726047d.tar.gz
rsyslog-dc309b7fa48bf013c28c120fa26110c23726047d.tar.bz2
rsyslog-dc309b7fa48bf013c28c120fa26110c23726047d.zip
imudp: fix error message on socket error condition
-rw-r--r--plugins/imudp/imudp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imudp/imudp.c b/plugins/imudp/imudp.c
index a7e9cff3..a0b793ac 100644
--- a/plugins/imudp/imudp.c
+++ b/plugins/imudp/imudp.c
@@ -409,7 +409,7 @@ processSocket(thrdInfo_t *pThrd, struct lstn_s *lstn, struct sockaddr_storage *f
if(errno != EINTR && errno != EAGAIN) {
rs_strerror_r(errno, errStr, sizeof(errStr));
DBGPRINTF("INET socket error: %d = %s.\n", errno, errStr);
- errmsg.LogError(errno, NO_ERRCODE, "recvfrom inet");
+ errmsg.LogError(errno, NO_ERRCODE, "imudp: error receving on socket: %s", errStr);
}
ABORT_FINALIZE(RS_RET_ERR); // this most often is NOT an error, state is not checked by caller!
}