diff options
-rw-r--r-- | source4/build/pidl/server.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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++; |