Date: Tue, 23 Jun 2009 09:52:05 +0400 (MSD) From: Maxim Konovalov <maxim@macomnet.ru> To: Pawel Worach <pawel.worach@gmail.com> Cc: current@freebsd.org Subject: Re: [patch] trivial warning fix for ndis_events Message-ID: <20090623095145.B1156@mp2.macomnet.net> In-Reply-To: <d227e09e0906211434qea2777fld01f8be14631b376@mail.gmail.com> References: <d227e09e0906211434qea2777fld01f8be14631b376@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090623095145.B1156>