Hi, Here is a trival patch to fix the format string to match the data argument in ndis_events. $ clang -O2 -pipe -c ndis_events.c ndis_events.c:268:57: warning: more data arguments than '%' conversions [-Wformat-extra-args] fprintf(stderr, "Usage: ndis_events [-a] [-d] [-v]\n", progname); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Index: usr.sbin/wpa/ndis_events/ndis_events.c =================================================================== --- usr.sbin/wpa/ndis_events/ndis_events.c (revision 193093) +++ usr.sbin/wpa/ndis_events/ndis_events.c (working copy) _at__at_ -265,7 +265,7 _at__at_ usage(progname) char *progname; { - fprintf(stderr, "Usage: ndis_events [-a] [-d] [-v]\n", progname); + fprintf(stderr, "Usage: %s [-a] [-d] [-v]\n", progname); exit(1); } -- PawelReceived on Sun Jun 21 2009 - 19:34:39 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:50 UTC