s3:lib/util: use map_nt_error_from_unix_common() in tevent_req_poll_ntstatus()
authorStefan Metzmacher <metze@samba.org>
Mon, 14 May 2012 07:58:56 +0000 (09:58 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 14 May 2012 13:12:34 +0000 (15:12 +0200)
metze

source3/lib/util.c

index 7913ce9ee7815d6f0a32dd6fd436c5d55b6bfe85..22c2eb288cc4d67126d439aef41ed3cb1629589e 100644 (file)
@@ -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;
 }