about summary refs log tree commit diff
path: root/include/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/atomic.h')
-rw-r--r--include/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/atomic.h b/include/atomic.h
index 3a0ec3a4be..56b07296c9 100644
--- a/include/atomic.h
+++ b/include/atomic.h
@@ -190,7 +190,7 @@
 #ifndef atomic_add_negative
 # define atomic_add_negative(mem, value) \
   ({ __typeof (value) __value = (value);				      \
-     atomic_exchange_and_add ((mem), __value) < -__value); })
+     atomic_exchange_and_add ((mem), __value) < -__value; })
 #endif