From 7af0d47e2957c7c53884904656ef8b9f39b75b53 Mon Sep 17 00:00:00 2001 From: Olaf Meeuwissen Date: Sun, 30 Jun 2019 11:15:20 +0900 Subject: [PATCH] Keep warning out of redirected image data. Fixes testsuite --- frontend/scanimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/scanimage.c b/frontend/scanimage.c index 2a307309a..6906f906e 100644 --- a/frontend/scanimage.c +++ b/frontend/scanimage.c @@ -1975,7 +1975,7 @@ static int guess_output_format(const char* output_file) { if (output_file == NULL) { - printf("Output format is not set, using pnm as a default.\n"); + fprintf(stderr, "Output format is not set, using pnm as a default.\n"); return OUTPUT_PNM; }