summaryrefslogtreecommitdiffstats
path: root/src/H5FDonion_header.c
diff options
context:
space:
mode:
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")