summaryrefslogtreecommitdiffstats
path: root/test/flush1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/flush1.c')
-rw-r--r--test/flush1.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/flush1.c b/test/flush1.c
index 700286d..f5c4e2b 100644
--- a/test/flush1.c
+++ b/test/flush1.c
@@ -201,7 +201,7 @@ main(void)
TEST_ERROR
/* Check if the current VFD supports SWMR */
- driver = HDgetenv("HDF5_DRIVER");
+ driver = HDgetenv(HDF5_DRIVER);
vfd_supports_swmr = H5FD__supports_swmr_test(driver);
/*************************************************/
@@ -327,7 +327,10 @@ main(void)
HD_exit(EXIT_SUCCESS);
error:
- H5E_BEGIN_TRY { H5Pclose(fapl_id); }
+ H5E_BEGIN_TRY
+ {
+ H5Pclose(fapl_id);
+ }
H5E_END_TRY;
HDexit(EXIT_FAILURE);