git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1af1ebe
)
ndrdump: Fix one more NTSTATUS rather than friendly ndr message
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 19 Nov 2019 23:17:37 +0000
(12:17 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 20 Nov 2019 04:41:27 +0000
(
04:41
+0000)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
librpc/tools/ndrdump.c
patch
|
blob
|
history
diff --git
a/librpc/tools/ndrdump.c
b/librpc/tools/ndrdump.c
index e911cf4c1e416931796c282b181a03195b6a05cc..be2ca68c1aaf9ef010f02e484b09fa2273b85974 100644
(file)
--- a/
librpc/tools/ndrdump.c
+++ b/
librpc/tools/ndrdump.c
@@
-602,8
+602,8
@@
static void ndr_print_dummy(struct ndr_print *ndr, const char *format, ...)
}
ndr_err = f->ndr_push(ndr_v_push, flags, st);
- status = ndr_map_error2ntstatus(ndr_err);
-
printf("push returned %s\n", nt_errstr(status
));
+ printf("push returned %s\n",
+
ndr_map_error2string(ndr_err
));
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
printf("validate push FAILED\n");
exit(1);