From: Dan Breslau Date: Mon, 10 Oct 2016 16:40:36 +0000 (-0400) Subject: GSSAPI status codes are bit-encoded, so print them in hex X-Git-Tag: v0.9.6~2^2~2 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.git;a=commitdiff_plain;h=bd3bd69af16ab99706ba70ed11a3e291e968e5c6 GSSAPI status codes are bit-encoded, so print them in hex --- diff --git a/mech_eap/util_trace.c b/mech_eap/util_trace.c index b79eab6..ec74236 100644 --- a/mech_eap/util_trace.c +++ b/mech_eap/util_trace.c @@ -55,7 +55,7 @@ gssEapTraceStatus(const char *function, (int) mech_buf.length, (char *) mech_buf.value); } else { - wpa_printf(MSG_INFO, "%s: %u/%u", function, major, minor); + wpa_printf(MSG_INFO, "%s: %08X/%08X", function, major, minor); } tmpmaj = gss_release_buffer(&tmpmin, &gss_code_buf); tmpmaj = gss_release_buffer(&tmpmin, &mech_buf);