Re: [patch] trivial warning fix for ndis_events

From: Maxim Konovalov <maxim_at_macomnet.ru>
Date: Tue, 23 Jun 2009 09:52:05 +0400 (MSD)
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
Received on Tue Jun 23 2009 - 03:52:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:50 UTC