summaryrefslogtreecommitdiff
path: root/librpc/ndr/ndr_rap.c
diff options
context:
space:
mode:
Diffstat (limited to 'librpc/ndr/ndr_rap.c')
-rw-r--r--librpc/ndr/ndr_rap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/librpc/ndr/ndr_rap.c b/librpc/ndr/ndr_rap.c
index f21e3675b6..ea18a08865 100644
--- a/librpc/ndr/ndr_rap.c
+++ b/librpc/ndr/ndr_rap.c
@@ -22,3 +22,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_rap.h"
+_PUBLIC_ void ndr_print_rap_status(struct ndr_print *ndr, const char *name, enum rap_status r)
+{
+ ndr_print_WERROR(ndr, name, W_ERROR(r));
+}