summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/async_smb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index 587e0e36d8..933b7e8c84 100644
--- a/source3/libsmb/async_smb.c
+++ b/source3/libsmb/async_smb.c
@@ -597,7 +597,7 @@ static void cli_smb_sent(struct tevent_req *subreq)
nwritten = writev_recv(subreq, &err);
TALLOC_FREE(subreq);
if (nwritten == -1) {
- NTSTATUS status = map_nt_error_from_unix(err);
+ NTSTATUS status = map_nt_error_from_unix_common(err);
cli_state_notify_pending(state->cli, status);
return;
}
@@ -637,7 +637,7 @@ static void cli_smb_received(struct tevent_req *subreq)
TALLOC_FREE(subreq);
cli->conn.read_smb_req = NULL;
if (received == -1) {
- status = map_nt_error_from_unix(err);
+ status = map_nt_error_from_unix_common(err);
cli_state_notify_pending(cli, status);
TALLOC_FREE(frame);
return;