GSSAPI status codes are bit-encoded, so print them in hex
[mech_eap.git] / mech_eap / util_trace.c
index b79eab6..ec74236 100644 (file)
@@ -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);