diff options
author | David Young <dyoung@hdfgroup.org> | 2020-02-27 16:16:49 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:55 (GMT) |
commit | b7f27e0381af0ead3eb11112d9f26ccd79d59686 (patch) | |
tree | bfe2f137cfe3481b70859708d004f9c5aaa436e0 /test | |
parent | 8c5e0a1e53cf7b1e2b7c32cb0d7051c28dae7a16 (diff) | |
download | hdf5-b7f27e0381af0ead3eb11112d9f26ccd79d59686.zip hdf5-b7f27e0381af0ead3eb11112d9f26ccd79d59686.tar.gz hdf5-b7f27e0381af0ead3eb11112d9f26ccd79d59686.tar.bz2 |
s/exit_failure/EXIT_FAILURE/g
Diffstat (limited to 'test')
-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)); } } |