about summary refs log tree commit diff
path: root/include/aio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aio.h')
-rw-r--r--include/aio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/aio.h b/include/aio.h
index d9330ebe..19bc28a9 100644
--- a/include/aio.h
+++ b/include/aio.h
@@ -21,7 +21,7 @@ struct aiocb {
 	struct sigevent aio_sigevent;
 	void *__td;
 	int __lock[2];
-	int __err;
+	volatile int __err;
 	ssize_t __ret;
 	off_t aio_offset;
 	void *__next, *__prev;