summaryrefslogtreecommitdiffstats
path: root/test/reserved.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/reserved.c')
-rwxr-xr-xtest/reserved.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/reserved.c b/test/reserved.c
index eeab056..583fd64 100755
--- a/test/reserved.c
+++ b/test/reserved.c
@@ -200,7 +200,7 @@ rsrv_ohdr(void)
sprintf(attrname, "attr %d", i);
H5E_BEGIN_TRY{
aid = H5Screate_simple(2, dims, NULL);
- attr_id = H5Acreate2(dataset_id, ".", attrname, H5T_STD_I32BE, aid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
+ attr_id = H5Acreate2(dataset_id, attrname, H5T_STD_I32BE, aid, H5P_DEFAULT, H5P_DEFAULT);
H5Awrite(attr_id, H5T_NATIVE_INT, attrval);
status = H5Aclose(attr_id);
} H5E_END_TRY