summaryrefslogtreecommitdiffstats
path: root/src/lib/rpc/auth_gssapi_misc.c
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2008-12-29 17:39:29 +0000
committerEzra Peisach <epeisach@mit.edu>2008-12-29 17:39:29 +0000
commitff46eba6cf90aa87a1ae04c3bc660f8cd1bbba5e (patch)
treef672de8b29e2222cc34c7e185f70f1782accf559 /src/lib/rpc/auth_gssapi_misc.c
parentc27165044b675285c475ad31dccf7570a8471035 (diff)
downloadkrb5-ff46eba6cf90aa87a1ae04c3bc660f8cd1bbba5e.tar.gz
krb5-ff46eba6cf90aa87a1ae04c3bc660f8cd1bbba5e.tar.xz
krb5-ff46eba6cf90aa87a1ae04c3bc660f8cd1bbba5e.zip
Add gssrpcint.h to contain prototype for gssrpcint_printf. Include
gcc printf attribute if supported. Include header file and fix up some of the debugging printf arguments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21632 dc483132-0cff-0310-8789-dd5450dbe970
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)