summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)));
}