ndis_events(8): Remove a bogus argument.
authorSascha Wildner <saw@online.de>
Fri, 9 Nov 2012 23:19:05 +0000 (00:19 +0100)
committerSascha Wildner <saw@online.de>
Fri, 9 Nov 2012 23:19:05 +0000 (00:19 +0100)
usr.sbin/802_11/ndis_events/ndis_events.c

index de1d763..5e2e114 100644 (file)
@@ -187,7 +187,7 @@ announce_event(char *ifname, int sock, struct sockaddr_in *dst)
                if (verbose) {
                        if (errno == ENOENT)
                                dbgmsg("drained all events from %s",
-                                   ifname, errno);
+                                   ifname);
                        else
                                dbgmsg("failed to read event info from %s: %d",
                                    ifname, errno);