summaryrefslogtreecommitdiffstats
path: root/test/swmr_generator.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/swmr_generator.c')
-rw-r--r--test/swmr_generator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/swmr_generator.c b/test/swmr_generator.c
index d986696..54a9900 100644
--- a/test/swmr_generator.c
+++ b/test/swmr_generator.c
@@ -283,7 +283,7 @@ usage(void)
HDprintf("compression ('-c -1'), v1 b-tree indexing (-i b1), and will generate a random\n");
HDprintf("seed (no -r given).\n");
HDprintf("\n");
- HDexit(1);
+ HDexit(EXIT_FAILURE);
} /* end usage() */
int main(int argc, const char *argv[])
@@ -377,7 +377,7 @@ int main(int argc, const char *argv[])
/* Generate file skeleton */
if(gen_skeleton(FILENAME, verbose, swmr_write, comp_level, index_type, random_seed) < 0) {
HDfprintf(stderr, "Error generating skeleton file!\n");
- HDexit(1);
+ HDexit(EXIT_FAILURE);
} /* end if */
return 0;