[patch] trivial warning fix for ndis_events
Maxim Konovalov
maxim at macomnet.ru
Tue Jun 23 05:52:07 UTC 2009
On Sun, 21 Jun 2009, 23:34+0200, Pawel Worach wrote:
> 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);
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
>
I've just removed the last argument. Thanks for the patch.
--
Maxim Konovalov
More information about the freebsd-current
mailing list