about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/aio/aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aio/aio.c b/src/aio/aio.c
index 7bf2b337..d1ee7681 100644
--- a/src/aio/aio.c
+++ b/src/aio/aio.c
@@ -148,7 +148,7 @@ static void cleanup(void *ctx)
 	 * Types 1-3 are notified via atomics/futexes, mainly for AS-safety
 	 * considerations. Type 4 is notified later via a cond var. */
 
-	a_store(&cb->__ret, at->ret);
+	cb->__ret = at->ret;
 	if (a_swap(&at->running, 0) < 0)
 		__wake(&at->running, -1, 1);
 	if (a_swap(&cb->__err, at->err) != EINPROGRESS)