Hello Jouni, I'm trying to get eapol_test built by default in Debian [0,1] and it seems that some minor parts don't build in current Debian sid's GCC, so here comes a quick patch to make these to correctly. They're just printf reformatting. Looking forward to integrate these in wpasupplicant! Cheers, OdyX [0] https://bugs.debian.org/700870 [1] https://salsa.debian.org/debian/wpa/merge_requests/4
Fix printf calls for eapol_test build Origin: vendor Author: Didier Raboud <odyx@xxxxxxxxxx> Last-Update: 2020-02-15 --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c @@ -6818,7 +6818,7 @@ wpa_debug_timestamp = global->params.wpa_debug_timestamp = params->wpa_debug_timestamp; - wpa_printf(MSG_DEBUG, "wpa_supplicant v" VERSION_STR); + wpa_printf(MSG_DEBUG, "wpa_supplicant v%s", VERSION_STR); if (eloop_init()) { wpa_printf(MSG_ERROR, "Failed to initialize event loop"); --- a/wpa_supplicant/eapol_test.c +++ b/wpa_supplicant/eapol_test.c @@ -1390,7 +1390,7 @@ eapol_test.ctrl_iface = 1; break; case 'v': - printf("eapol_test v" VERSION_STR "\n"); + printf("eapol_test v%s\n",VERSION_STR); return 0; case 'W': wait_for_monitor++;
Attachment:
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap