From 65b943460d0819b65366d16a1c156473c8e46cf3 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 7 Sep 2013 23:23:14 +0000 Subject: [PATCH] fade: Log to stderr. Uunlike all other commands of the paraslash suite, the log function of para_fade writes to stdout rather than stderr. Make it log to stderr for the sake of consistency. --- fade.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fade.c b/fade.c index a8424d67..387e257a 100644 --- 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); -- 2.39.5