diff options
Diffstat (limited to 'test/swmr_sparse_writer.c')
-rw-r--r-- | test/swmr_sparse_writer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/swmr_sparse_writer.c b/test/swmr_sparse_writer.c index 6ea02a1..c536d3c 100644 --- a/test/swmr_sparse_writer.c +++ b/test/swmr_sparse_writer.c @@ -313,7 +313,7 @@ usage(void) printf("Defaults to verbose (no '-q' given) and flushing every 1000 records\n"); printf("('-f 1000')\n"); printf("\n"); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } int @@ -389,7 +389,7 @@ main(int argc, char *argv[]) /* Open file skeleton */ if ((fid = open_skeleton(FILENAME, verbose)) < 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 */ @@ -402,7 +402,7 @@ main(int argc, char *argv[]) /* Append records to datasets */ if (add_records(fid, verbose, (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 */ @@ -412,7 +412,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 */ @@ -422,7 +422,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; |