From 0cd5d0422ca9b0295a178070c799095947941c10 Mon Sep 17 00:00:00 2001 From: shahramn Date: Fri, 13 Dec 2024 18:21:19 +0000 Subject: [PATCH] Tools: Error reporting --- tools/grib_compare.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/grib_compare.cc b/tools/grib_compare.cc index 4e984ac1c..903534d8e 100644 --- a/tools/grib_compare.cc +++ b/tools/grib_compare.cc @@ -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); }