summaryrefslogtreecommitdiffstats
path: root/test/swmr_writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/swmr_writer.c')
-rw-r--r--test/swmr_writer.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/swmr_writer.c b/test/swmr_writer.c
index 609a665..c880225 100644
--- a/test/swmr_writer.c
+++ b/test/swmr_writer.c
@@ -270,7 +270,7 @@ usage(void)
printf("Defaults to verbose (no '-q' given), latest format when opening file (no '-o' given),\n");
printf("flushing every 10000 records ('-f 10000'), and will generate a random seed (no -r given).\n");
printf("\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
}
int
@@ -359,7 +359,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 */
@@ -388,7 +388,7 @@ main(int argc, char *argv[])
/* Open file skeleton */
if ((fid = open_skeleton(FILENAME, verbose, verbose_file, random_seed, old)) < 0) {
fprintf(stderr, "Error opening skeleton file!\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
} /* end if */
/* Send a message to indicate "H5Fopen" is complete--releasing the file lock */
@@ -401,7 +401,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 */
@@ -411,7 +411,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 */
@@ -421,7 +421,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;