summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/smb2_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_ioctl.c b/source3/smbd/smb2_ioctl.c
index 4a00e9d562..bc69ba3309 100644
--- a/source3/smbd/smb2_ioctl.c
+++ b/source3/smbd/smb2_ioctl.c
@@ -311,7 +311,7 @@ static struct tevent_req *smbd_smb2_ioctl_send(TALLOC_CTX *mem_ctx,
}
if (overflow) {
- tevent_req_nterror(STATUS_BUFFER_OVERFLOW);
+ tevent_req_nterror(req, STATUS_BUFFER_OVERFLOW);
} else {
tevent_req_done(req);
}