diff options
Diffstat (limited to 'tools/lib/h5diff_attr.c')
-rw-r--r-- | tools/lib/h5diff_attr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5diff_attr.c b/tools/lib/h5diff_attr.c index 2db6d21..d3d6a66 100644 --- a/tools/lib/h5diff_attr.c +++ b/tools/lib/h5diff_attr.c @@ -71,9 +71,9 @@ hsize_t diff_attr(hid_t loc1_id, hsize_t nfound_total = 0; int cmp=1; - if(H5Oget_info(loc1_id, ".", &oinfo1, H5P_DEFAULT) < 0) + if(H5Oget_info(loc1_id, &oinfo1) < 0) goto error; - if(H5Oget_info(loc2_id, ".", &oinfo2, H5P_DEFAULT) < 0) + if(H5Oget_info(loc2_id, &oinfo2) < 0) goto error; if(oinfo1.num_attrs != oinfo2.num_attrs) |