diff options
author | Jacob Smith <jake.smith@hdfgroup.org> | 2019-01-02 19:31:12 (GMT) |
---|---|---|
committer | Jacob Smith <jake.smith@hdfgroup.org> | 2019-01-02 19:31:12 (GMT) |
commit | 19e9cce732a8263f6290eaf74aff2915c72bbda4 (patch) | |
tree | 1b4b520d6c73d0bd7828325f3bd4345c3c642ee5 | |
parent | 734744df94aa5435c151fcf726c80b0b72db8ae9 (diff) | |
download | hdf5-19e9cce732a8263f6290eaf74aff2915c72bbda4.zip hdf5-19e9cce732a8263f6290eaf74aff2915c72bbda4.tar.gz hdf5-19e9cce732a8263f6290eaf74aff2915c72bbda4.tar.bz2 |
Change H5Acreate to H5Acreate2
-rw-r--r-- | test/ohdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ohdr.c b/test/ohdr.c index 633c053..886bdd0 100644 --- a/test/ohdr.c +++ b/test/ohdr.c @@ -69,7 +69,7 @@ put_attribute(hid_t loc_id, const char *attrname, const void *attrvalue, hid_t d { if((*attribute_id) < 0) { hid_t id = -1; - id = H5Acreate(loc_id, attrname, datatype_id, dataspace_id, H5P_DEFAULT, H5P_DEFAULT); + id = H5Acreate2(loc_id, attrname, datatype_id, dataspace_id, H5P_DEFAULT, H5P_DEFAULT); if(id < 0) return FAIL; *attribute_id = id; |