summaryrefslogtreecommitdiffstats
path: root/src/H5FDonion_header.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-08-31 16:01:52 (GMT)
committerGitHub <noreply@github.com>2022-08-31 16:01:52 (GMT)
commitccdcec273a7665ec4bc5ce7e25788218f8842b6a (patch)
tree34db5210a9d84e67c858cfef8a158f4d018ea5e4 /src/H5FDonion_header.c
parent5de9d63ff433f146b29d7331c07ac6fae9a98a5e (diff)
downloadhdf5-ccdcec273a7665ec4bc5ce7e25788218f8842b6a.zip
hdf5-ccdcec273a7665ec4bc5ce7e25788218f8842b6a.tar.gz
hdf5-ccdcec273a7665ec4bc5ce7e25788218f8842b6a.tar.bz2
Updates onion VFD major error codes (#2076)
Diffstat (limited to 'src/H5FDonion_header.c')
-rw-r--r--src/H5FDonion_header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDonion_header.c b/src/H5FDonion_header.c
index a1d6c28..2fe721a 100644
--- a/src/H5FDonion_header.c
+++ b/src/H5FDonion_header.c
@@ -49,7 +49,7 @@ H5FD__onion_ingest_header(H5FD_onion_header_t *hdr_out, H5FD_t *raw_file, haddr_
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "header indicates history beyond EOF")
if (NULL == (buf = H5MM_malloc(sizeof(char) * size)))
- HGOTO_ERROR(H5E_RESOURCE, H5E_CANTALLOC, FAIL, "can't allocate buffer space")
+ HGOTO_ERROR(H5E_VFL, H5E_CANTALLOC, FAIL, "can't allocate buffer space")
if (H5FD_set_eoa(raw_file, H5FD_MEM_DRAW, (addr + size)) < 0)
HGOTO_ERROR(H5E_VFL, H5E_CANTSET, FAIL, "can't modify EOA")