summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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 4a00e9d5629..bc69ba33090 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);
}