aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/aio.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/aio.h')
-rw-r--r--sys/sys/aio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/aio.h b/sys/sys/aio.h
index e9c5bdc63c87..a1aa96efed09 100644
--- a/sys/sys/aio.h
+++ b/sys/sys/aio.h
@@ -149,7 +149,7 @@ struct kaiocb {
aio_handle_fn_t *handle_fn; /* (c) backend handle function */
union { /* Backend-specific data fields */
struct { /* BIO backend */
- int nbio; /* Number of remaining bios */
+ volatile u_int nbio; /* Number of remaining bios */
int error; /* Worst error of all bios */
long nbytes; /* Bytes completed so far */
};