summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-05-20 12:43:30 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-05-20 12:43:30 (GMT)
commit83f50e5a722f7a58562a0885fef695f74bce7285 (patch)
tree604f4dad662be4824a77eb85cffa3639cd35a9de /src/H5F.c
parent02a23331992c618bb3cacb35bc0ea52f36ba1482 (diff)
downloadhdf5-83f50e5a722f7a58562a0885fef695f74bce7285.zip
hdf5-83f50e5a722f7a58562a0885fef695f74bce7285.tar.gz
hdf5-83f50e5a722f7a58562a0885fef695f74bce7285.tar.bz2
[svn-r18865] Description:
Bring r18864 from trunk to 1.8 branch: General cleanups to align metadata journaling branch and trunk Tested on: FreeBSD/32 6.3 (duty) in debug mode (h5committested on trunk)
Diffstat (limited to 'src/H5F.c')
-rw-r--r--src/H5F.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5F.c b/src/H5F.c
index 6e7dd22..792de77 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -926,7 +926,7 @@ H5F_new(H5F_file_t *shared, hid_t fcpl_id, hid_t fapl_id, H5FD_t *lf)
* The cache might be created with a different number of elements and
* the access property list should be updated to reflect that.
*/
- if(SUCCEED != H5AC_create(f, &(f->shared->mdc_initCacheCfg)))
+ if(H5AC_create(f, &(f->shared->mdc_initCacheCfg)) < 0)
HGOTO_ERROR(H5E_FILE, H5E_CANTINIT, NULL, "unable to create metadata cache")
/* Create the file's "open object" information */