summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-09-18 06:31:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:48 -0500
commita502c85fb12915f9de9b664c6469942ce666c327 (patch)
tree4fb810f0e868cc0382d7221dcaf0266fbb0da009 /source4/librpc
parent2fe1144f34182b9e4f94a071857f06c246c5c78c (diff)
downloadsamba-a502c85fb12915f9de9b664c6469942ce666c327.tar.gz
samba-a502c85fb12915f9de9b664c6469942ce666c327.tar.bz2
samba-a502c85fb12915f9de9b664c6469942ce666c327.zip
r2399: Display text description of rpc fault in debug message.
(This used to be commit 04aec4c0a3f559f6a9ccfaf990f3a2ff2e6f48df)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/rpc/dcerpc.c2
1 files changed, 1 insertions, 1 deletions
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;