summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-09-11 16:59:56 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-09-11 16:59:56 (GMT)
commit71227503423b8dc37c8683d17705932a3678e416 (patch)
tree864746cd5c9c09a81f37ab4d6b348f3fcf6e44de
parent79aa53a08fdf163c0367fcf0e25644b068e4e96d (diff)
downloadhdf5-71227503423b8dc37c8683d17705932a3678e416.zip
hdf5-71227503423b8dc37c8683d17705932a3678e416.tar.gz
hdf5-71227503423b8dc37c8683d17705932a3678e416.tar.bz2
[svn-r5918] Purpose:
Bug fix. Description/Solution: Fix bug in log file driver where the size of the buffer for recording the log information was being set incorrectly. Platforms tested: FreeBSD 4.6 (sleipnir) - no additional testing on other machines neceessary, due to scope of fix.
-rw-r--r--src/H5FDlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDlog.c b/src/H5FDlog.c
index 381f8d0..33d57c5 100644
--- a/src/H5FDlog.c
+++ b/src/H5FDlog.c
@@ -548,7 +548,7 @@ H5FD_log_open(const char *name, unsigned flags, hid_t fapl_id,
/* Check if we are doing any logging at all */
if(file->fa.flags!=0) {
- file->iosize=file->fa.buf_size;
+ file->iosize=fa->buf_size;
if(file->fa.flags&H5FD_LOG_NUM_READ) {
file->nread=H5MM_calloc(file->iosize);
assert(file->nread);