summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_dset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/t_dset.c b/testpar/t_dset.c
index 80039dc..aff2050 100644
--- a/testpar/t_dset.c
+++ b/testpar/t_dset.c
@@ -1040,8 +1040,8 @@ extend_readInd(char *filename)
file_dataspace = H5Dget_space (dataset1);
VRFY((file_dataspace != FAIL), "H5Dget_space succeeded");
- ret=H5Sget_dims(file_dataspace, dims, NULL);
- VRFY((ret > 0), "H5Sget_dims succeeded");
+ ret=H5Sexent_dims(file_dataspace, dims, NULL);
+ VRFY((ret > 0), "H5Sextent_dims succeeded");
dims[0]++;
ret=H5Dextend(dataset1, dims);
VRFY((ret == FAIL), "H5Dextend failed as expected");