summaryrefslogtreecommitdiff
path: root/nslcd/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'nslcd/common.h')
-rw-r--r--nslcd/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/nslcd/common.h b/nslcd/common.h
index ca543fb..0c6f3f0 100644
--- a/nslcd/common.h
+++ b/nslcd/common.h
@@ -48,15 +48,15 @@
#define ERROR_OUT_WRITEERROR(fp) \
do { \
if (errno == EPIPE) \
- log_log(LOG_DEBUG, "error writing to client: %s", strerror(errno)); \
+ log_log(LOG_DEBUG, "error writing to client"); \
else \
- log_log(LOG_WARNING, "error writing to client: %s", strerror(errno)); \
+ log_log(LOG_WARNING, "error writing to client"); \
return -1; \
} while(0)
#define ERROR_OUT_READERROR(fp) \
do { \
- log_log(LOG_WARNING, "error reading from client: %s", strerror(errno)); \
+ log_log(LOG_WARNING, "error reading from client"); \
return -1; \
} while(0)