diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mirror_vfd/mirror_remote.c | 6 | ||||
-rw-r--r-- | utils/tools/h5dwalk/h5dwalk.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/utils/mirror_vfd/mirror_remote.c b/utils/mirror_vfd/mirror_remote.c index aaa7515..4f87c17 100644 --- a/utils/mirror_vfd/mirror_remote.c +++ b/utils/mirror_vfd/mirror_remote.c @@ -65,7 +65,7 @@ mirror_log(struct mirror_log_info *info, unsigned int level, const char *format, } fprintf(stream, "\n"); - HDfflush(stream); + fflush(stream); } /* end if sufficiently verbose to print */ } /* end mirror_log() */ @@ -163,7 +163,7 @@ mirror_log_init(char *path, const char *prefix, unsigned int verbosity) if (path && *path) { FILE *f = NULL; - f = HDfopen(path, "w"); + f = fopen(path, "w"); if (NULL == f) { fprintf(MIRROR_LOG_DEFAULT_STREAM, "WARN custom logging path could not be opened: %s\n", path); @@ -196,7 +196,7 @@ mirror_log_term(loginfo_t *info) return FAIL; } if (info->stream != stderr || info->stream != stdout) { - if (HDfclose(info->stream) < 0) { + if (fclose(info->stream) < 0) { return FAIL; } } diff --git a/utils/tools/h5dwalk/h5dwalk.c b/utils/tools/h5dwalk/h5dwalk.c index c97861c..e8df52d 100644 --- a/utils/tools/h5dwalk/h5dwalk.c +++ b/utils/tools/h5dwalk/h5dwalk.c @@ -758,7 +758,7 @@ fill_file_list(mfu_flist new_flist, const char *config_filename, int myrank, int char linebuf[PATH_MAX] = { '\0', }; - FILE *config = HDfopen(config_filename, "r"); + FILE *config = fopen(config_filename, "r"); if (config == NULL) return -1; while (HDfgets(linebuf, sizeof(linebuf), config) != NULL) { @@ -774,7 +774,7 @@ fill_file_list(mfu_flist new_flist, const char *config_filename, int myrank, int } linebuf[0] = 0; } - HDfclose(config); + fclose(config); return index; } @@ -1257,7 +1257,7 @@ process_input_file(char *inputname, int myrank, int size) char linebuf[PATH_MAX] = { '\0', }; - FILE *config = HDfopen(inputname, "r"); + FILE *config = fopen(inputname, "r"); mfu_flist flist1 = NULL; if (config == NULL) @@ -1317,7 +1317,7 @@ process_input_file(char *inputname, int myrank, int size) if (output_log_file) { dh5tool_flist_write_text(output_log_file, flist1); } - HDfclose(config); + fclose(config); mfu_flist_free(&flist1); return 0; |