diff options
Diffstat (limited to 'source3/smbd/smb2_flush.c')
-rw-r--r-- | source3/smbd/smb2_flush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_flush.c b/source3/smbd/smb2_flush.c index d077c62c403..51584ca876f 100644 --- a/source3/smbd/smb2_flush.c +++ b/source3/smbd/smb2_flush.c @@ -198,7 +198,7 @@ static void smbd_smb2_flush_done(struct tevent_req *subreq) ret = SMB_VFS_FSYNC_RECV(subreq, &vfs_aio_state); TALLOC_FREE(subreq); if (ret == -1) { - tevent_req_error(req, vfs_aio_state.error); + tevent_req_nterror(req, map_nt_error_from_unix(vfs_aio_state.error)); return; } tevent_req_done(req); |