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); }