aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/hdf5_merge.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/hdf5_merge.c b/src/util/hdf5_merge.c
index aa3b314..225cb7e 100644
--- a/src/util/hdf5_merge.c
+++ b/src/util/hdf5_merge.c
@@ -144,7 +144,8 @@ int main (int argc, char *argv[])
/* do the copying by iterating over all objects */
for (i = 0; i < argc - 2; i++)
{
- printf ("\n Merging objects from input file '%s'\n", argv[i + 1]);
+ printf ("\n Merging objects from input file '%s' into output file '%s'\n",
+ argv[i + 1], argv[argc-1]);
pathname = "";
CHECK_ERROR (H5Giterate (infiles[i], "/", NULL, CopyObject, &outfile));
}
@@ -356,7 +357,7 @@ static herr_t CopyAttribute (hid_t from,
CHECK_ERROR (H5Aread (attr, datatype, value));
CHECK_ERROR (H5Aclose (attr));
CHECK_ERROR (attr = H5Acreate (to, attrname, datatype, dataspace,
- H5P_DEFAULT));
+ H5P_DEFAULT));
CHECK_ERROR (H5Awrite (attr, datatype, value));
free (value);
}