summaryrefslogtreecommitdiff
path: root/source3/libsmb/cli_srvsvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/cli_srvsvc.c')
-rw-r--r--source3/libsmb/cli_srvsvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cli_srvsvc.c b/source3/libsmb/cli_srvsvc.c
index 297ca1e8e0..9d33149540 100644
--- a/source3/libsmb/cli_srvsvc.c
+++ b/source3/libsmb/cli_srvsvc.c
@@ -69,7 +69,7 @@ NTSTATUS cli_srvsvc_net_srv_get_info(struct cli_state *cli,
goto done;
}
- result = r.status;
+ result = werror_to_ntstatus(r.status);
done:
prs_mem_free(&qbuf);