summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortbeu <tbeu@users.noreply.github.com>2023-10-26 03:08:41 (GMT)
committerGitHub <noreply@github.com>2023-10-26 03:08:41 (GMT)
commitebeb642fcdc3c82dec38c046948559119cd4451b (patch)
treea98f87163a0db9b2555f32f037aae24b4d05a8fb
parentcbd5a8d3ce28fa409ce27db167691278a4d60852 (diff)
downloadhdf5-ebeb642fcdc3c82dec38c046948559119cd4451b.zip
hdf5-ebeb642fcdc3c82dec38c046948559119cd4451b.tar.gz
hdf5-ebeb642fcdc3c82dec38c046948559119cd4451b.tar.bz2
Fix typo in comment (#3775)
-rw-r--r--src/H5Tvlen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tvlen.c b/src/H5Tvlen.c
index 68087a8..651ff8f 100644
--- a/src/H5Tvlen.c
+++ b/src/H5Tvlen.c
@@ -503,7 +503,7 @@ H5T__vlen_mem_seq_write(H5VL_object_t H5_ATTR_UNUSED *file, const H5T_vlen_alloc
if (seq_len) {
size_t len = seq_len * base_size; /* Sequence size */
- /* Use the user's memory allocation routine is one is defined */
+ /* Use the user's memory allocation routine if one is defined */
if (vl_alloc_info->alloc_func != NULL) {
if (NULL == (vl.p = (vl_alloc_info->alloc_func)(len, vl_alloc_info->alloc_info)))
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTALLOC, FAIL,