From ed3cf6988a919c5846cdce81bbadb87fc1a13ceb Mon Sep 17 00:00:00 2001 From: Qualys Security Advisory Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] w: Replace printf() with fprintf(fout) in print_time_ival7(). This has currently no impact, because print_time_ival7() is always called with fout = stdout, but fix it anyway. --- w.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/w.c b/w.c index 028c0b35..7bb5babc 100644 --- a/w.c +++ b/w.c @@ -236,7 +236,7 @@ static void print_time_ival7(time_t t, int centi_sec, FILE * fout) { if ((long)t < (long)0) { /* system clock changed? */ - printf(" ? "); + fprintf(fout, " ? "); return; } if (oldstyle) {