diff options
author | David Young <dyoung@hdfgroup.org> | 2019-10-18 20:58:02 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-10-18 20:58:02 (GMT) |
commit | 6f1469fce4cee067a901dd8fc7c725ea52d73717 (patch) | |
tree | a6c1550662afc1bddf4b395e988c4d0b72821400 /tools | |
parent | 63df4fae56cdde2d0ed8cb082247eab638837999 (diff) | |
download | hdf5-6f1469fce4cee067a901dd8fc7c725ea52d73717.zip hdf5-6f1469fce4cee067a901dd8fc7c725ea52d73717.tar.gz hdf5-6f1469fce4cee067a901dd8fc7c725ea52d73717.tar.bz2 |
Fix some tools: try all other VFDs before SWMR.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lib/h5tools.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c index 21cd608..e9b5564 100644 --- a/tools/lib/h5tools.c +++ b/tools/lib/h5tools.c @@ -57,19 +57,18 @@ static int h5tools_init_g; /* if h5tools lib has been initialized */ /* This enum should match the entries in the below drivers_list since they * are indexes into the drivers_list array. */ typedef enum { - SWMR_IDX = 0 - ,SEC2_IDX + SEC2_IDX = 0 ,FAMILY_IDX ,SPLIT_IDX ,MULTI_IDX #ifdef H5_HAVE_PARALLEL ,MPIO_IDX #endif /* H5_HAVE_PARALLEL */ + ,SWMR_IDX } driver_idx; /* Names of VFDs */ static const char *drivernames[]={ - [SWMR_IDX] = "swmr", [SEC2_IDX] = "sec2", [FAMILY_IDX] = "family", [SPLIT_IDX] = "split", @@ -77,6 +76,7 @@ static const char *drivernames[]={ #ifdef H5_HAVE_PARALLEL [MPIO_IDX] = "mpio", #endif /* H5_HAVE_PARALLEL */ + [SWMR_IDX] = "swmr", }; #define NUM_DRIVERS (sizeof(drivernames) / sizeof(drivernames[0])) |