s3:libsmb: make use of map_nt_error_from_unix_common() in clitrans.c
authorStefan Metzmacher <metze@samba.org>
Wed, 26 Oct 2011 13:47:21 +0000 (15:47 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 26 Oct 2011 15:53:15 +0000 (17:53 +0200)
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Oct 26 17:53:15 CEST 2011 on sn-devel-104

source3/libsmb/clitrans.c

index 97e39b32504edb3c70a8839dfbdae21bc278aa9e..4bc9f4a31158928c96d46d77716470b621c8a637 100644 (file)
@@ -754,7 +754,7 @@ NTSTATUS cli_trans(TALLOC_CTX *mem_ctx, struct cli_state *cli,
        }
 
        if (!tevent_req_poll(req, ev)) {
-               status = map_nt_error_from_unix(errno);
+               status = map_nt_error_from_unix_common(errno);
                goto fail;
        }