summaryrefslogtreecommitdiffstats
path: root/source3/smbd/aio.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/aio.c')
-rw-r--r--source3/smbd/aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index b59b372771..7e27c27b5a 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -250,7 +250,7 @@ bool schedule_aio_read_and_X(connection_struct *conn,
return False;
}
- construct_reply_common((char *)req->inbuf, aio_ex->outbuf);
+ construct_reply_common_req(req, aio_ex->outbuf);
srv_set_message(aio_ex->outbuf, 12, 0, True);
SCVAL(aio_ex->outbuf,smb_vwv0,0xFF); /* Never a chained reply. */