summaryrefslogtreecommitdiffstats
path: root/rfc3195d.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-09-25 10:45:07 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-09-25 10:45:07 +0000
commit997b3ce610532178b4688a10415ee6af84e56fb5 (patch)
treeb06c226588cc3d307a9cea054717076a2bee2f7c /rfc3195d.c
parent22ca8b6abaa0377cf078f6c0710446cd06c6f641 (diff)
downloadrsyslog-997b3ce610532178b4688a10415ee6af84e56fb5.tar.gz
rsyslog-997b3ce610532178b4688a10415ee6af84e56fb5.tar.xz
rsyslog-997b3ce610532178b4688a10415ee6af84e56fb5.zip
compile error in rfc3195d fixed
Diffstat (limited to 'rfc3195d.c')
-rw-r--r--rfc3195d.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rfc3195d.c b/rfc3195d.c
index b44550d2..7588fb94 100644
--- a/rfc3195d.c
+++ b/rfc3195d.c
@@ -104,6 +104,7 @@ static void openlog()
strlen(SyslogAddr.sa_data)) != -1)
connected = 1;
else {
+ char errStr[1024];
printf("error connecting '%s': %s\n",
pPathLogname, strerror_r(errno, errStr, sizeof(errStr)));
}