aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gold/testsuite')
-rw-r--r--gold/testsuite/tls_test_main.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gold/testsuite/tls_test_main.cc b/gold/testsuite/tls_test_main.cc
index 877889c..0ff02c6 100644
--- a/gold/testsuite/tls_test_main.cc
+++ b/gold/testsuite/tls_test_main.cc
@@ -33,16 +33,16 @@
#define safe_lock(muptr) \
do \
{ \
- int pthread_err = pthread_mutex_lock(muptr); \
- assert(pthread_err == 0); \
+ int err = pthread_mutex_lock(muptr); \
+ assert(err == 0); \
} \
while (0)
#define safe_unlock(muptr) \
do \
{ \
- int pthread_err = pthread_mutex_unlock(muptr); \
- assert(pthread_err == 0); \
+ int err = pthread_mutex_unlock(muptr); \
+ assert(err == 0); \
} \
while (0)