diff --git a/java/src/jni/h5util.c b/java/src/jni/h5util.c index a379e620a1..5905a1a84f 100644 --- a/java/src/jni/h5util.c +++ b/java/src/jni/h5util.c @@ -550,7 +550,7 @@ h5str_convert str++; cptr = HDcalloc(offset, sizeof(hvl_t)); for (i = 0; (i*offset) < (int)size; i++) { - h5str_sprintf(str, container, mtid, cptr + (i*offset), offset, expand_data); + h5str_convert(str, container, mtid, cptr + (i*offset), offset, expand_data); /* remove vlen indicators */ if (str[0] == ',') str++;