diff options
Diffstat (limited to 'nslcd/log.c')
-rw-r--r-- | nslcd/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nslcd/log.c b/nslcd/log.c index b0e205d..a24c04d 100644 --- a/nslcd/log.c +++ b/nslcd/log.c @@ -108,7 +108,7 @@ void log_newsession(void) sessionid = (char *)malloc(7); if (sessionid == NULL) { - fprintf(stderr, "malloc() failed: %s", strerror(errno)); + fprintf(stderr, SD_ERR "malloc() failed: %s", strerror(errno)); return; /* silently fail */ } #ifndef TLS @@ -137,7 +137,7 @@ void log_setrequest(const char *format, ...) requestid = (char *)malloc(MAX_REQUESTID_LENGTH); if (requestid == NULL) { - fprintf(stderr, "malloc() failed: %s", strerror(errno)); + fprintf(stderr, SD_ERR "malloc() failed: %s", strerror(errno)); return; /* silently fail */ } #ifndef TLS |