Date: Tue, 23 Jun 2009 08:51:11 +0000 (UTC) From: Maxim Konovalov <maxim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r194686 - head/usr.sbin/wpa/ndis_events Message-ID: <200906230851.n5N8pBip069095@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: maxim Date: Tue Jun 23 08:51:11 2009 New Revision: 194686 URL: http://svn.freebsd.org/changeset/base/194686 Log: o Fix usage() prototype [1] and correct its call. Submitted by: ed [1] Modified: head/usr.sbin/wpa/ndis_events/ndis_events.c Modified: head/usr.sbin/wpa/ndis_events/ndis_events.c ============================================================================== --- head/usr.sbin/wpa/ndis_events/ndis_events.c Tue Jun 23 06:57:46 2009 (r194685) +++ head/usr.sbin/wpa/ndis_events/ndis_events.c Tue Jun 23 08:51:11 2009 (r194686) @@ -93,7 +93,7 @@ struct ndis_evt { static int find_ifname(int, char *); static int announce_event(char *, int, struct sockaddr_in *); -static void usage(); +static void usage(void); static void dbgmsg(const char *fmt, ...) @@ -293,7 +293,7 @@ main(argc, argv) all_events++; break; default: - usage(PROGNAME); + usage(); break; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906230851.n5N8pBip069095>