summaryrefslogtreecommitdiffstats
path: root/test/swmr_start_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/swmr_start_write.c')
-rw-r--r--test/swmr_start_write.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/swmr_start_write.c b/test/swmr_start_write.c
index f216360..5067db0 100644
--- a/test/swmr_start_write.c
+++ b/test/swmr_start_write.c
@@ -340,7 +340,7 @@ usage(void)
printf("v1 b-tree indexing (-i b1), compression ('-c -1'),\n");
printf("will generate a random seed (no -r given), and verbose (no '-q' given)\n");
printf("\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
} /* usage() */
/*
@@ -451,7 +451,7 @@ main(int argc, char *argv[])
HDsnprintf(verbose_name, sizeof(verbose_name), "swmr_writer.out.%u", random_seed);
if (NULL == (verbose_file = HDfopen(verbose_name, "w"))) {
fprintf(stderr, "Can't open verbose output file!\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
}
} /* end if */
@@ -470,7 +470,7 @@ main(int argc, char *argv[])
/* Create the test file */
if ((fid = create_file(FILENAME, verbose, verbose_file, random_seed)) < 0) {
fprintf(stderr, "Error creating the file...\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
}
/* Emit informational message */
@@ -484,13 +484,13 @@ main(int argc, char *argv[])
/* Create the datasets in the file */
if (create_datasets(fid, comp_level, verbose, verbose_file, index_type) < 0) {
fprintf(stderr, "Error creating datasets...\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
}
/* Enable SWMR writing mode */
if (H5Fstart_swmr_write(fid) < 0) {
fprintf(stderr, "Error starting SWMR writing mode...\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
}
/* Send a message to indicate "H5Fopen" is complete--releasing the file lock */
@@ -503,7 +503,7 @@ main(int argc, char *argv[])
/* Append records to datasets */
if (add_records(fid, verbose, verbose_file, (unsigned long)nrecords, (unsigned long)flush_count) < 0) {
fprintf(stderr, "Error appending records to datasets!\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
} /* end if */
/* Emit informational message */
@@ -513,7 +513,7 @@ main(int argc, char *argv[])
/* Clean up the symbols */
if (shutdown_symbols() < 0) {
fprintf(stderr, "Error releasing symbols!\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
} /* end if */
/* Emit informational message */
@@ -523,7 +523,7 @@ main(int argc, char *argv[])
/* Close objects opened */
if (H5Fclose(fid) < 0) {
fprintf(stderr, "Error closing file!\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
} /* end if */
return 0;