summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 7913ce9ee7..22c2eb288c 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -2268,7 +2268,7 @@ bool tevent_req_poll_ntstatus(struct tevent_req *req,
{
bool ret = tevent_req_poll(req, ev);
if (!ret) {
- *status = map_nt_error_from_unix(errno);
+ *status = map_nt_error_from_unix_common(errno);
}
return ret;
}