summaryrefslogtreecommitdiffstats
path: root/src/lib/rpc/auth_gssapi_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/rpc/auth_gssapi_misc.c')
-rw-r--r--src/lib/rpc/auth_gssapi_misc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/rpc/auth_gssapi_misc.c b/src/lib/rpc/auth_gssapi_misc.c
index 89569f0a6..908ac0cb2 100644
--- a/src/lib/rpc/auth_gssapi_misc.c
+++ b/src/lib/rpc/auth_gssapi_misc.c
@@ -9,6 +9,8 @@
#include <gssapi/gssapi.h>
#include <gssrpc/auth_gssapi.h>
+#include "gssrpcint.h"
+
#ifdef __CODECENTER__
#define DEBUG_GSSAPI 1
#endif
@@ -181,7 +183,7 @@ static void auth_gssapi_display_status_1(
putc ('\n', stderr);
if (misc_debug_gssapi)
gssrpcint_printf("GSS-API authentication error %s: %*s\n",
- m, msg.length, msg.value);
+ m, msg.length, (char *) msg.value);
(void) gss_release_buffer(&minor_stat, &msg);
if (!msg_ctx)