summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-01-18 05:32:50 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-01-18 05:32:50 +0000
commit35905afad14fbaeee2f2331e83cde37b9105f596 (patch)
treeb4361c656b9a2e047e2e3b854b357a7085a1c0dd /lib/libpthread
parent03c41ac965df56079c04c1750c684b942e27c59a (diff)
Notes
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/h_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpthread/h_common.h b/lib/libpthread/h_common.h
index 2e8b0a123e75..261b07fd3262 100644
--- a/lib/libpthread/h_common.h
+++ b/lib/libpthread/h_common.h
@@ -5,14 +5,14 @@
#define PTHREAD_REQUIRE(x) \
do { \
- int ret = (x); \
- ATF_REQUIRE_MSG(ret == 0, "%s: %s", #x, strerror(ret)); \
+ int _ret = (x); \
+ ATF_REQUIRE_MSG(_ret == 0, "%s: %s", #x, strerror(_ret)); \
} while (0)
#define PTHREAD_REQUIRE_STATUS(x, v) \
do { \
- int ret = (x); \
- ATF_REQUIRE_MSG(ret == (v), "%s: %s", #x, strerror(ret)); \
+ int _ret = (x); \
+ ATF_REQUIRE_MSG(_ret == (v), "%s: %s", #x, strerror(_ret)); \
} while (0)
#endif // H_COMMON_H