From e181241f450a5a92187c409d2715fab24749e325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Mon, 3 Jul 2017 16:56:47 +0300 Subject: [PATCH] Print maxavrocheck errors to stderr The errors should be printed to stderr to distinct them from actual messages. --- avro/maxavrocheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avro/maxavrocheck.c b/avro/maxavrocheck.c index 5cc552ac9..1a57647b9 100644 --- a/avro/maxavrocheck.c +++ b/avro/maxavrocheck.c @@ -158,7 +158,7 @@ int main(int argc, char** argv) { if (check_file(realpath(argv[i], pathbuf))) { - printf("Failed to process file: %s\n", argv[i]); + fprintf(stderr, "Failed to process file: %s\n", argv[i]); rval = 1; } }