diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-12-07 09:21:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:25 -0500 |
commit | cdeadf87ac767b8b60f08f62dc8c5efb4f4b609b (patch) | |
tree | 391804da12ad7a1d0a71b7d9a9d243c8cb461dac /source4/build/pidl | |
parent | 4b7960a091916613ad89e9ef9e4de857b08c8e24 (diff) | |
download | samba-cdeadf87ac767b8b60f08f62dc8c5efb4f4b609b.tar.gz samba-cdeadf87ac767b8b60f08f62dc8c5efb4f4b609b.tar.bz2 samba-cdeadf87ac767b8b60f08f62dc8c5efb4f4b609b.zip |
r4085: print out dcerpc_fault's as names
metze
(This used to be commit 979c453c4dedf0006997dfc9994331e49643b741)
Diffstat (limited to 'source4/build/pidl')
-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++; |