Skip to content

Commit

Permalink
Tools: Error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Dec 13, 2024
1 parent 42793ae commit 0cd5d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/grib_compare.cc
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ int grib_tool_init(grib_runtime_options* options)
options->idx = grib_fieldset_new_from_files(context, filename,
nfiles, 0, 0, 0, orderby, &ret);
if (ret) {
fprintf(stderr, "%s: Unable to create index for input file %s (%s)",
fprintf(stderr, "%s: Unable to create index for input file '%s' (%s)\n",
tool_name, options->infile_extra->name, grib_get_error_message(ret));
exit(ret);
}
Expand Down

0 comments on commit 0cd5d04

Please sign in to comment.