summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1997-08-26 19:51:49 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1997-08-26 19:51:49 (GMT)
commit31ff3e40a06c7d9cced2475f0e6e4acaa2afacd0 (patch)
treedec82b8f07a186e260116f9959378998809a0dfa /src/H5D.c
parented257f0958afe6555eeec6733761993f0355fe98 (diff)
downloadhdf5-31ff3e40a06c7d9cced2475f0e6e4acaa2afacd0.zip
hdf5-31ff3e40a06c7d9cced2475f0e6e4acaa2afacd0.tar.gz
hdf5-31ff3e40a06c7d9cced2475f0e6e4acaa2afacd0.tar.bz2
[svn-r42] Minor tweaks to correct parameters for H5O_new
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 5c93840..05316a3 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -288,7 +288,7 @@ herr_t H5D_flush(hatom_t oid)
/* construct dataset symbol-table entry */
d_sym.name_off=0;
/* allocate the dataset's object header */
- if((d_sym.header=H5O_new(file, 1, 0))<0)
+ if((d_sym.header=H5O_new(file, 0, H5D_MINHDR_SIZE))<0)
HRETURN_ERROR (H5E_SYM, H5E_CANTINIT, FAIL);
d_sym.type=H5G_NOTHING_CACHED;
dataset->header=d_sym.header;