diff options
Diffstat (limited to 'source4/torture/rpc/testjoin.c')
-rw-r--r-- | source4/torture/rpc/testjoin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c index 9c9fd749fb..32ea6c5ce4 100644 --- a/source4/torture/rpc/testjoin.c +++ b/source4/torture/rpc/testjoin.c @@ -141,7 +141,7 @@ void *torture_join_domain(const char *machine_name, if (!NT_STATUS_IS_OK(status)) { const char *errstr = nt_errstr(status); if (NT_STATUS_EQUAL(status, NT_STATUS_NET_WRITE_FAULT)) { - errstr = dcerpc_errstr(join->p->last_fault_code); + errstr = dcerpc_errstr(mem_ctx, join->p->last_fault_code); } printf("samr_Connect failed - %s\n", errstr); goto failed; |