summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-04-22 23:49:52 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-04-22 23:49:52 (GMT)
commit785bd0975ba13c3033820d0fc809da963fcd54ca (patch)
treeb6de43bf842ae8bd97727cfa4ade87f6a6abde8f /tools/lib/h5diff.c
parent8cd9d8349e5984d8a6f78c9c0c1bb566a9960b23 (diff)
downloadhdf5-785bd0975ba13c3033820d0fc809da963fcd54ca.zip
hdf5-785bd0975ba13c3033820d0fc809da963fcd54ca.tar.gz
hdf5-785bd0975ba13c3033820d0fc809da963fcd54ca.tar.bz2
Fixed h5diff command-line parameters to use 1 and 2 instead of src
and dst.
Diffstat (limited to 'tools/lib/h5diff.c')
-rw-r--r--tools/lib/h5diff.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c
index d11d28f..8b6ace9 100644
--- a/tools/lib/h5diff.c
+++ b/tools/lib/h5diff.c
@@ -572,8 +572,8 @@ h5diff(const char *fname1, const char *fname2, const char *objname1, const char
*-------------------------------------------------------------------------
*/
/* open file 1 */
- if (opts->custom_in_vol) {
- if((fapl1_id = h5tools_get_fapl(H5P_DEFAULT, &(opts->in_vol_info), NULL)) < 0 ) {
+ if (opts->custom_vol_1) {
+ if((fapl1_id = h5tools_get_fapl(H5P_DEFAULT, &(opts->vol_info_1), NULL)) < 0 ) {
parallel_print("h5diff: unable to create fapl for input file\n");
H5TOOLS_GOTO_ERROR(H5DIFF_ERR, "unable to create input fapl\n");
}
@@ -587,8 +587,8 @@ h5diff(const char *fname1, const char *fname2, const char *objname1, const char
/* open file 2 */
- if (opts->custom_out_vol) {
- if((fapl2_id = h5tools_get_fapl(H5P_DEFAULT, &(opts->out_vol_info), NULL)) < 0 ) {
+ if (opts->custom_vol_2) {
+ if((fapl2_id = h5tools_get_fapl(H5P_DEFAULT, &(opts->vol_info_2), NULL)) < 0 ) {
parallel_print("h5diff: unable to create fapl for output file\n");
H5TOOLS_GOTO_ERROR(H5DIFF_ERR, "unable to create output fapl\n");
}