diff options
author | myang6 <myang6@hdfgroup.org> | 2021-10-18 22:40:11 (GMT) |
---|---|---|
committer | myang6 <myang6@hdfgroup.org> | 2021-10-18 22:40:11 (GMT) |
commit | 5d9248aab77f06f8b1943374ba4ba24a322ad31d (patch) | |
tree | 05464ed0eb0f60a4287f8b1b6160c83c67c1e48b /src/H5Fint.c | |
parent | 383fd055affb3e003828fc42fba726583ebeebca (diff) | |
parent | cbf5ca9147e229373d8ee75df3f60d1f01211b2a (diff) | |
download | hdf5-5d9248aab77f06f8b1943374ba4ba24a322ad31d.zip hdf5-5d9248aab77f06f8b1943374ba4ba24a322ad31d.tar.gz hdf5-5d9248aab77f06f8b1943374ba4ba24a322ad31d.tar.bz2 |
Merge branch 'vfd_swmr_log' of https://github.com/kyang2014/hdf5 into vfd_swmr_log
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r-- | src/H5Fint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c index 9d739b7..a50c38c 100644 --- a/src/H5Fint.c +++ b/src/H5Fint.c @@ -2017,12 +2017,12 @@ H5F_open(const char *name, unsigned flags, hid_t fcpl_id, hid_t fapl_id) if (vfd_swmr_config_ptr->version) { if (HDstrlen(vfd_swmr_config_ptr->log_file_path) > 0) - shared->vfd_swmr_log_on = TRUE; + shared->vfd_swmr_log_on = TRUE; if (TRUE == shared->vfd_swmr_log_on) { /* Create the log file */ - if ((shared->vfd_swmr_log_file_ptr = HDfopen(vfd_swmr_config_ptr->log_file_path,"w"))==NULL) + if ((shared->vfd_swmr_log_file_ptr = HDfopen(vfd_swmr_config_ptr->log_file_path, "w")) == NULL) HGOTO_ERROR(H5E_FILE, H5E_CANTOPENFILE, NULL, "unable to create the log file") - if(HDclock_gettime(CLOCK_MONOTONIC, &(shared->vfd_swmr_log_start_time))<0) + if (HDclock_gettime(CLOCK_MONOTONIC, &(shared->vfd_swmr_log_start_time)) < 0) HGOTO_ERROR(H5E_FILE, H5E_CANTGET, NULL, "can't get time via clock_gettime"); } } @@ -2237,7 +2237,7 @@ done: } #if 1 /*KENT*/ H5F_post_vfd_swrm_log_entry(file, 0, "File open ends"); -#endif +#endif if (vfd_swmr_config_ptr) H5MM_free(vfd_swmr_config_ptr); |