summaryrefslogtreecommitdiffstats
path: root/test/twriteorder.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-09-18 17:27:15 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-09-18 17:27:15 (GMT)
commitefaf7dea67a8c861123952c37e5cf6ac210116e9 (patch)
treef7b4d8d7131efb3354884cbb691561857ffe0941 /test/twriteorder.c
parent2a6053435c5eacb68aec6c5b8f03d62f4d789e43 (diff)
downloadhdf5-efaf7dea67a8c861123952c37e5cf6ac210116e9.zip
hdf5-efaf7dea67a8c861123952c37e5cf6ac210116e9.tar.gz
hdf5-efaf7dea67a8c861123952c37e5cf6ac210116e9.tar.bz2
HDFFV-10903 merge dev changes to 1.10
Diffstat (limited to 'test/twriteorder.c')
-rw-r--r--test/twriteorder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/twriteorder.c b/test/twriteorder.c
index 60ee384..b104b72 100644
--- a/test/twriteorder.c
+++ b/test/twriteorder.c
@@ -134,7 +134,7 @@ parse_option(int argc, char * const argv[])
switch (c) {
case 'h':
usage(progname_g);
- HDexit(0);
+ HDexit(EXIT_SUCCESS);
break;
case 'b': /* number of planes to write/read */
if ((blocksize_g = atoi(optarg)) <= 0) {
@@ -407,12 +407,12 @@ main(int argc, char *argv[])
HDprintf("%d: launch reader process\n", mypid);
if (read_wo_file() < 0) {
HDfprintf(stderr, "read_wo_file encountered error\n");
- HDexit(1);
+ HDexit(EXIT_FAILURE);
}
/* Reader is done. Clean up by removing the data file */
HDremove(DATAFILE);
- HDexit(0);
+ HDexit(EXIT_SUCCESS);
}
}