From 0b25def059d1e17b103de682f9937ed7e56ad070 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Tue, 9 Mar 2021 15:26:13 +0000 Subject: [PATCH] ECC-779: error messages should go to stderr --- tools/grib_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/grib_dump.c b/tools/grib_dump.c index fc358d726..138acbb91 100644 --- a/tools/grib_dump.c +++ b/tools/grib_dump.c @@ -69,7 +69,7 @@ int grib_tool_init(grib_runtime_options* options) options->dump_mode = "default"; if (opt > 1) { - printf("%s: simultaneous j/O/D options not allowed\n", tool_name); + fprintf(stderr, "%s: simultaneous j/O/D options not allowed\n", tool_name); exit(1); }