From a502c85fb12915f9de9b664c6469942ce666c327 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sat, 18 Sep 2004 06:31:56 +0000 Subject: r2399: Display text description of rpc fault in debug message. (This used to be commit 04aec4c0a3f559f6a9ccfaf990f3a2ff2e6f48df) --- source4/librpc/rpc/dcerpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index ce2a434e47..a4f93973f7 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -709,7 +709,7 @@ static void dcerpc_request_recv_data(struct dcerpc_pipe *p, } if (pkt.ptype == DCERPC_PKT_FAULT) { - DEBUG(5,("rpc fault 0x%x\n", pkt.u.fault.status)); + DEBUG(5,("rpc fault: %s\n", dcerpc_errstr(p, pkt.u.fault.status))); req->fault_code = pkt.u.fault.status; req->status = NT_STATUS_NET_WRITE_FAULT; req->state = RPC_REQUEST_DONE; -- cgit