From cdeadf87ac767b8b60f08f62dc8c5efb4f4b609b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 7 Dec 2004 09:21:13 +0000 Subject: r4085: print out dcerpc_fault's as names metze (This used to be commit 979c453c4dedf0006997dfc9994331e49643b741) --- source4/build/pidl/server.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/build/pidl/server.pm b/source4/build/pidl/server.pm index 2a838ccf48..4deca54ac5 100644 --- a/source4/build/pidl/server.pm +++ b/source4/build/pidl/server.pm @@ -40,7 +40,7 @@ sub gen_dispatch_switch($) pidl "\t\t\tNDR_PRINT_FUNCTION_DEBUG($d->{NAME}, NDR_OUT | NDR_SET_VALUES, r2);\n"; pidl "\t\t}\n"; pidl "\t\tif (dce_call->fault_code != 0) {\n"; - pidl "\t\t\tDEBUG(2,(\"dcerpc_fault 0x%x in $d->{NAME}\\n\", dce_call->fault_code));\n"; + pidl "\t\t\tDEBUG(2,(\"dcerpc_fault %s in $d->{NAME}\\n\", dcerpc_errstr(mem_ctx, dce_call->fault_code)));\n"; pidl "\t\t}\n"; pidl "\t\tbreak;\n\t}\n"; $count++; -- cgit