diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-08-31 16:01:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 16:01:52 (GMT) |
commit | ccdcec273a7665ec4bc5ce7e25788218f8842b6a (patch) | |
tree | 34db5210a9d84e67c858cfef8a158f4d018ea5e4 /src/H5FDonion_history.c | |
parent | 5de9d63ff433f146b29d7331c07ac6fae9a98a5e (diff) | |
download | hdf5-ccdcec273a7665ec4bc5ce7e25788218f8842b6a.zip hdf5-ccdcec273a7665ec4bc5ce7e25788218f8842b6a.tar.gz hdf5-ccdcec273a7665ec4bc5ce7e25788218f8842b6a.tar.bz2 |
Updates onion VFD major error codes (#2076)
Diffstat (limited to 'src/H5FDonion_history.c')
-rw-r--r-- | src/H5FDonion_history.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDonion_history.c b/src/H5FDonion_history.c index ed45ddd..e01a6a1 100644 --- a/src/H5FDonion_history.c +++ b/src/H5FDonion_history.c @@ -107,7 +107,7 @@ H5FD__onion_write_history(H5FD_onion_history_t *history, H5FD_t *file, haddr_t o if (NULL == (buf = H5MM_malloc(H5FD_ONION_ENCODED_SIZE_HISTORY + (H5FD_ONION_ENCODED_SIZE_RECORD_POINTER * history->n_revisions)))) - HGOTO_ERROR(H5E_RESOURCE, H5E_CANTALLOC, 0, "can't allocate buffer for updated history") + HGOTO_ERROR(H5E_VFL, H5E_CANTALLOC, 0, "can't allocate buffer for updated history") if (0 == (size = H5FD__onion_history_encode(history, buf, &_sum))) HGOTO_ERROR(H5E_VFL, H5E_BADVALUE, 0, "problem encoding updated history") |