summaryrefslogtreecommitdiffstats
path: root/test/dtransform.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dtransform.c')
-rw-r--r--test/dtransform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dtransform.c b/test/dtransform.c
index 38d35a2..ebe90bb 100644
--- a/test/dtransform.c
+++ b/test/dtransform.c
@@ -556,7 +556,7 @@ int test_set(void)
H5Eset_auto_stack(H5E_DEFAULT, NULL, NULL);
TESTING("H5Pget_data_transform (get before set)")
- if(H5Pget_data_transform(dxpl_id, ptrgetTest, strlen(str)) < 0)
+ if(H5Pget_data_transform(dxpl_id, ptrgetTest, strlen(str)+1) < 0)
{
PASSED();
}