about summary refs log tree commit diff
path: root/assert
diff options
context:
space:
mode:
Diffstat (limited to 'assert')
-rw-r--r--assert/assert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/assert/assert.c b/assert/assert.c
index 564ae28a2b..aa77e250b4 100644
--- a/assert/assert.c
+++ b/assert/assert.c
@@ -74,7 +74,7 @@ __assert_fail_base (const char *fmt, const char *assertion, const char *file,
 
 	  /* We have to free the old buffer since the application might
 	     catch the SIGABRT signal.  */
-	  struct abort_msg_s *old = atomic_exchange_acq (&__abort_msg, buf);
+	  struct abort_msg_s *old = atomic_exchange_acquire (&__abort_msg, buf);
 
 	  if (old != NULL)
 	    __munmap (old, old->size);