summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-02-27 16:16:49 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-11 20:34:05 (GMT)
commit99034ad9ad405a57f606817cb7083e809915a28c (patch)
tree421564fe9235d2242d50b47d04e120b1e6831736 /test
parent4d6c96bdf572ed931560d5a525e133a246beea31 (diff)
downloadhdf5-99034ad9ad405a57f606817cb7083e809915a28c.zip
hdf5-99034ad9ad405a57f606817cb7083e809915a28c.tar.gz
hdf5-99034ad9ad405a57f606817cb7083e809915a28c.tar.bz2
s/exit_failure/EXIT_FAILURE/g
Diffstat (limited to 'test')
-rw-r--r--test/thread_id.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/thread_id.c b/test/thread_id.c
index 4637d9c..84676bf 100644
--- a/test/thread_id.c
+++ b/test/thread_id.c
@@ -98,7 +98,7 @@ barrier_lock(pthread_barrier_t *barrier)
int rc;
if ((rc = pthread_mutex_lock(&barrier->mtx)) != 0) {
- my_errx(exit_failure, "%s: pthread_mutex_lock: %s", __func__,
+ my_errx(EXIT_FAILURE, "%s: pthread_mutex_lock: %s", __func__,
strerror(rc));
}
}
@@ -109,7 +109,7 @@ barrier_unlock(pthread_barrier_t *barrier)
int rc;
if ((rc = pthread_mutex_unlock(&barrier->mtx)) != 0) {
- my_errx(exit_failure, "%s: pthread_mutex_unlock: %s", __func__,
+ my_errx(EXIT_FAILURE, "%s: pthread_mutex_unlock: %s", __func__,
strerror(rc));
}
}