GH issue #1142, print must have verbose on first (#2540)

This commit is contained in:
Allen Byrne 2023-03-13 16:23:33 -05:00 committed by GitHub
parent d2345e9f0c
commit 42d1e89755
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -530,10 +530,12 @@ copy_attr(hid_t loc_in, hid_t loc_out, named_dt_t **named_dt_head_p, trav_table_
buf = NULL;
} /*H5T_REFERENCE*/
if (options->verbose == 2)
HDprintf(FORMAT_OBJ_ATTR_TIME, "attr", read_time, write_time, name);
else
HDprintf(FORMAT_OBJ_ATTR, "attr", name);
if (options->verbose > 0) {
if (options->verbose == 2)
HDprintf(FORMAT_OBJ_ATTR_TIME, "attr", read_time, write_time, name);
else
HDprintf(FORMAT_OBJ_ATTR, "attr", name);
}
/*---------------------------------------------------------------------
* close