]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - fade.c
fade: Log to stderr.
[paraslash.git] / fade.c
diff --git a/fade.c b/fade.c
index a8424d67a5db24ea2967670ee6eb90ccaf284100..387e257a6aa5026c4a1c234c4e2ad9983f387ff4 100644 (file)
--- a/fade.c
+++ b/fade.c
@@ -37,7 +37,7 @@ static __printf_2_3 void date_log(int ll, const char *fmt, ...)
                return;
        time(&t1);
        tm = localtime(&t1);
-       printf("%d:%02d:%02d ", tm->tm_hour, tm->tm_min, tm->tm_sec);
+       fprintf(stderr, "%d:%02d:%02d ", tm->tm_hour, tm->tm_min, tm->tm_sec);
        va_start(argp, fmt);
        vprintf(fmt, argp);
        va_end(argp);