From: hadaq Date: Mon, 24 Nov 2003 12:47:52 +0000 (+0000) Subject: Less colorful -- mm X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=7fc9dfd51de656cc8cd1f5aa639db2df8487b23e;p=daqdata.git Less colorful -- mm --- diff --git a/compat/syslog.c b/compat/syslog.c index 8f4e906..d9ae054 100644 --- a/compat/syslog.c +++ b/compat/syslog.c @@ -1,4 +1,4 @@ -static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/syslog.c,v 1.5 2003-02-05 11:54:52 hadaq Exp $"; +static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/syslog.c,v 1.6 2003-11-24 12:47:52 hadaq Exp $"; #include #include @@ -33,10 +33,10 @@ void SYSLOG_syslog(int priority, const char *message, ...) { }; fprintf(stderr, "%s", mode[priority]); fprintf(stderr, "%s: ", idPri); + fprintf(stderr, "%s", mode[LOG_DEBUG + 1]); va_start(ap, message); vfprintf(stderr, message, ap); va_end(ap); - fprintf(stderr, "%s", mode[LOG_DEBUG + 1]); fprintf(stderr, "%c", '\n'); }