summaryrefslogtreecommitdiff
path: root/libcli/util/tstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/util/tstream.c')
-rw-r--r--libcli/util/tstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/util/tstream.c b/libcli/util/tstream.c
index b287597c62..12cef9b6dd 100644
--- a/libcli/util/tstream.c
+++ b/libcli/util/tstream.c
@@ -106,7 +106,7 @@ static void tstream_read_pdu_blob_done(struct tevent_req *subreq)
ret = tstream_readv_recv(subreq, &sys_errno);
TALLOC_FREE(subreq);
if (ret == -1) {
- status = map_nt_error_from_unix(sys_errno);
+ status = map_nt_error_from_unix_common(sys_errno);
tevent_req_nterror(req, status);
return;
}