diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-12-17 23:26:36 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-12-17 23:26:36 -0500 |
commit | 6fc3d82aae15d5e80e70dbb3adda1c39ef3b62f7 (patch) | |
tree | a4f390fa4e5e48e01e7cdc0b2840d9a6ea49718b /nslcd/log.c | |
parent | 051ee4061b1f605b4b95a868c8c4d84b5dfd09b8 (diff) |
Use log_log->SD universally
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 |