diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-08 16:13:42 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-08 16:13:42 +0000 |
commit | e27555c46856475fc3686511ce8e393651de8e44 (patch) | |
tree | 558a2cff52d01f9ceb38219e53442a74748a08be /syslogd.c | |
parent | 8d0a174a86d29dbec6412cb1bd38f87b3b3c059b (diff) | |
download | rsyslog-e27555c46856475fc3686511ce8e393651de8e44.tar.gz rsyslog-e27555c46856475fc3686511ce8e393651de8e44.tar.xz rsyslog-e27555c46856475fc3686511ce8e393651de8e44.zip |
added --enable-mudflap ./configure option
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -4278,14 +4278,17 @@ dbgprintf(char *fmt, ...) * rgerhards, 2007-06-15 */ if(bWasNL) { - fprintf(stdout, "%8.8x: ", (unsigned int) pthread_self()); + //fprintf(stdout, "%8.8x: ", (unsigned int) pthread_self()); + fprintf(stderr, "%8.8x: ", (unsigned int) pthread_self()); } bWasNL = (*(fmt + strlen(fmt) - 1) == '\n') ? TRUE : FALSE; va_start(ap, fmt); - vfprintf(stdout, fmt, ap); + //vfprintf(stdout, fmt, ap); + vfprintf(stderr, fmt, ap); va_end(ap); - fflush(stdout); + fflush(stderr); + //fflush(stdout); return; } |