mirror of https://github.com/ecmwf/eccodes.git
ECC-779: error messages should go to stderr
This commit is contained in:
parent
ad00a7fda9
commit
0b25def059
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue