diff options
author | maxim <maxim@FreeBSD.org> | 2009-06-23 08:51:11 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2009-06-23 08:51:11 +0000 |
commit | 8c6aabce2b2b9a6a56d4157c50c7bfe69876dd99 (patch) | |
tree | abfed2668a15950ece4c9fdbf7100d65edf9e4f0 /usr.sbin/wpa | |
parent | f151f0600f677f2d29299d7347bab33b7f385b18 (diff) | |
download | FreeBSD-src-8c6aabce2b2b9a6a56d4157c50c7bfe69876dd99.zip FreeBSD-src-8c6aabce2b2b9a6a56d4157c50c7bfe69876dd99.tar.gz |
o Fix usage() prototype [1] and correct its call.
Submitted by: ed [1]
Diffstat (limited to 'usr.sbin/wpa')
-rw-r--r-- | usr.sbin/wpa/ndis_events/ndis_events.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/wpa/ndis_events/ndis_events.c b/usr.sbin/wpa/ndis_events/ndis_events.c index 155bea3..e3cd9b5 100644 --- a/usr.sbin/wpa/ndis_events/ndis_events.c +++ b/usr.sbin/wpa/ndis_events/ndis_events.c @@ -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; } } |