diff options
author | Rickard Green <[email protected]> | 2010-12-16 14:29:31 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2010-12-16 14:29:31 +0100 |
commit | 4768e26e0acb2ebd12c08bc5599b98dc1ff92094 (patch) | |
tree | e2643baa49c33dfc9bd0a0f97241e1eb36ba73f2 /erts | |
parent | e22880b24b64a4d033b05d41406187fd313ac99e (diff) | |
download | otp-4768e26e0acb2ebd12c08bc5599b98dc1ff92094.tar.gz otp-4768e26e0acb2ebd12c08bc5599b98dc1ff92094.tar.bz2 otp-4768e26e0acb2ebd12c08bc5599b98dc1ff92094.zip |
Unbreak atomic fallback
Diffstat (limited to 'erts')
-rw-r--r-- | erts/lib_src/common/ethr_atomics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/lib_src/common/ethr_atomics.c b/erts/lib_src/common/ethr_atomics.c index 77694e5952..94557d904a 100644 --- a/erts/lib_src/common/ethr_atomics.c +++ b/erts/lib_src/common/ethr_atomics.c @@ -43,7 +43,7 @@ ethr_init_atomics(void) { int i; for (i = 0; i < (1 << ETHR_ATOMIC_ADDR_BITS); i++) { - res = ethr_spinlock_init(ðr_atomic_protection__[i].u.lck); + int res = ethr_spinlock_init(ðr_atomic_protection__[i].u.lck); if (res != 0) return res; } |