diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2011-04-26 20:12:58 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2011-04-26 20:12:58 (GMT) |
commit | 14f7bcf8c954738d103f43c3be5162c2600bb4dc (patch) | |
tree | 8107cf704d505beca7cae51e5add5636c4d15649 /src | |
parent | 9e73c8ee3d73201506d0a293046503f9690e0f24 (diff) | |
download | hdf5-14f7bcf8c954738d103f43c3be5162c2600bb4dc.zip hdf5-14f7bcf8c954738d103f43c3be5162c2600bb4dc.tar.gz hdf5-14f7bcf8c954738d103f43c3be5162c2600bb4dc.tar.bz2 |
[svn-r20646] Description:
Small improvement to the core VFD's error reporting.
Update FreeBSD information
Tested on:
FreeBSD/32 8.2 (loyalty)
(too minor to require h5committest)
Diffstat (limited to 'src')
-rw-r--r-- | src/H5FDcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDcore.c b/src/H5FDcore.c index b3cc84d..6668a8c 100644 --- a/src/H5FDcore.c +++ b/src/H5FDcore.c @@ -985,7 +985,7 @@ H5FD_core_write(H5FD_t *_file, H5FD_mem_t UNUSED type, hid_t UNUSED dxpl_id, had /* (Re)allocate memory for the file buffer */ if(NULL == (x = (unsigned char *)H5MM_realloc(file->mem, new_eof))) - HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "unable to allocate memory block") + HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "unable to allocate memory block of %llu bytes", (unsigned long long)new_eof) #ifdef H5_CLEAR_MEMORY HDmemset(x + file->eof, 0, (size_t)(new_eof - file->eof)); #endif /* H5_CLEAR_MEMORY */ |