diff options
author | David Young <dyoung@hdfgroup.org> | 2020-02-27 16:16:49 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-02-27 16:16:49 (GMT) |
commit | 802bf2dc1eca3c3fd4f3f2cbc90c9c40c6d94607 (patch) | |
tree | 92f48f36d89896bbdc78940635d734d3ecca17c6 /test/thread_id.c | |
parent | b87d9cb50e68da06210a49eedfd01356e127b011 (diff) | |
download | hdf5-802bf2dc1eca3c3fd4f3f2cbc90c9c40c6d94607.zip hdf5-802bf2dc1eca3c3fd4f3f2cbc90c9c40c6d94607.tar.gz hdf5-802bf2dc1eca3c3fd4f3f2cbc90c9c40c6d94607.tar.bz2 |
s/exit_failure/EXIT_FAILURE/g
Diffstat (limited to 'test/thread_id.c')
-rw-r--r-- | test/thread_id.c | 4 |
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)); } } |