diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-08-18 20:22:14 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-08-18 20:22:14 (GMT) |
commit | 347c41995bfbf01e52fc4636297138b2a1ab3f45 (patch) | |
tree | f4f1ac983cd48b11c7426da00c072b7e14dd519e /src/H5FDsec2.c | |
parent | cf421eaa74d9a5c50263b42cfeb8c55453ca985f (diff) | |
download | hdf5-347c41995bfbf01e52fc4636297138b2a1ab3f45.zip hdf5-347c41995bfbf01e52fc4636297138b2a1ab3f45.tar.gz hdf5-347c41995bfbf01e52fc4636297138b2a1ab3f45.tar.bz2 |
[svn-r17376] Description:
Make similar change to windows VFD as sec2 VFD, when converting from
a family file to a single file.
Tweak file sizes expected for parallel tests.
Tested on:
tg-login3, w/parallel
Windows (post facto)
Diffstat (limited to 'src/H5FDsec2.c')
-rw-r--r-- | src/H5FDsec2.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c index 0b4632d..c2d74a9 100644 --- a/src/H5FDsec2.c +++ b/src/H5FDsec2.c @@ -397,7 +397,7 @@ H5FD_sec2_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr) /* Get the FAPL */ if(NULL == (plist = (H5P_genplist_t *)H5I_object(fapl_id))) - HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "not a file access property list") + HGOTO_ERROR(H5E_VFL, H5E_BADTYPE, NULL, "not a file access property list") /* This step is for h5repart tool only. If user wants to change file driver from * family to sec2 while using h5repart, this private property should be set so that @@ -406,7 +406,7 @@ H5FD_sec2_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr) */ if(H5P_exist_plist(plist, H5F_ACS_FAMILY_TO_SEC2_NAME) > 0) if(H5P_get(plist, H5F_ACS_FAMILY_TO_SEC2_NAME, &file->fam_to_sec2) < 0) - HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, NULL, "can't get property of changing family to sec2") + HGOTO_ERROR(H5E_VFL, H5E_CANTGET, NULL, "can't get property of changing family to sec2") } /* end if */ /* Set return value */ @@ -535,7 +535,6 @@ done: * *------------------------------------------------------------------------- */ -/* ARGSUSED */ static herr_t H5FD_sec2_query(const H5FD_t *_file, unsigned long *flags /* out */) { |