summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-04-26 20:21:38 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-04-26 20:21:38 (GMT)
commit814c2225da42a7fa3b071fbec74536c1b5ea2db4 (patch)
treecf133e52b792d6f263fb72fc054660c66ed86222 /src
parentdd8ce27961466c4206a0f66989b1a903a6204deb (diff)
downloadhdf5-814c2225da42a7fa3b071fbec74536c1b5ea2db4.zip
hdf5-814c2225da42a7fa3b071fbec74536c1b5ea2db4.tar.gz
hdf5-814c2225da42a7fa3b071fbec74536c1b5ea2db4.tar.bz2
[svn-r20647] Description:
Bring r20646 from trunk to 1.8 branch: Tested on: FreeBSD/32 8.2 (loyalty) (too minor to require h5committest)
Diffstat (limited to 'src')
-rw-r--r--src/H5FDcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDcore.c b/src/H5FDcore.c
index e24f0e1..1851e8c 100644
--- a/src/H5FDcore.c
+++ b/src/H5FDcore.c
@@ -982,7 +982,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 */