summaryrefslogtreecommitdiffstats
path: root/hl/test
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2016-03-06 22:01:59 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2016-03-06 22:01:59 (GMT)
commitf83c88d9ae90e41cc5a3f402dedf7cf1fccd02f4 (patch)
treec0515581f286d0ae2279c7c87e0b3916d6c386f4 /hl/test
parenta6c9f83aeed62d62ded380944c17f815ce640b1b (diff)
downloadhdf5-f83c88d9ae90e41cc5a3f402dedf7cf1fccd02f4.zip
hdf5-f83c88d9ae90e41cc5a3f402dedf7cf1fccd02f4.tar.gz
hdf5-f83c88d9ae90e41cc5a3f402dedf7cf1fccd02f4.tar.bz2
[svn-r29295] Replaced H5Acreate with H5Acreate2 in hl/test/test_packet_vlen.c line 758 to eliminate error with configure option --wit-default-api-version=v16.
Tested with option and h5committest.new.
Diffstat (limited to 'hl/test')
-rw-r--r--hl/test/test_packet_vlen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/test/test_packet_vlen.c b/hl/test/test_packet_vlen.c
index 4d55226..10051fa 100644
--- a/hl/test/test_packet_vlen.c
+++ b/hl/test/test_packet_vlen.c
@@ -758,7 +758,7 @@ static int adding_attribute(hid_t fid, const char *table_name, const char *attr_
goto error;
/* Add the specified attribute to it */
- attr_id = H5Acreate(dset_id, attr_name, H5T_NATIVE_INT, space_id, H5P_DEFAULT, H5P_DEFAULT);
+ attr_id = H5Acreate2(dset_id, attr_name, H5T_NATIVE_INT, space_id, H5P_DEFAULT, H5P_DEFAULT);
if (attr_id < 0)
goto error;