]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
Less colorful -- mm
authorhadaq <hadaq>
Mon, 24 Nov 2003 12:47:52 +0000 (12:47 +0000)
committerhadaq <hadaq>
Mon, 24 Nov 2003 12:47:52 +0000 (12:47 +0000)
compat/syslog.c

index 8f4e9065280e4cd41bd98981725cab6add4e0f41..d9ae0542aa4466717904272ba9454398c0bb86e7 100644 (file)
@@ -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 <string.h>
 #include <stdarg.h>
@@ -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');
                }