From 71227503423b8dc37c8683d17705932a3678e416 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Wed, 11 Sep 2002 11:59:56 -0500 Subject: [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. --- src/H5FDlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v0.12