diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2017-01-18 05:32:50 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2017-01-18 05:32:50 +0000 |
commit | 35905afad14fbaeee2f2331e83cde37b9105f596 (patch) | |
tree | b4361c656b9a2e047e2e3b854b357a7085a1c0dd /lib/libpthread/h_common.h | |
parent | 03c41ac965df56079c04c1750c684b942e27c59a (diff) |
Notes
Diffstat (limited to 'lib/libpthread/h_common.h')
-rw-r--r-- | lib/libpthread/h_common.h | 8 |
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 |