summaryrefslogtreecommitdiff
path: root/usr.sbin/hostapd/apme.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-04-13 18:25:29 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-04-13 18:25:29 +0000
commite8313c062e552ad61ef957096a489456cfa1395e (patch)
tree8490116250889330892a56d9342cd98e0b803be9 /usr.sbin/hostapd/apme.c
parentfbd9185cd25b95eabb882ad60bd5546ac6bfc50d (diff)
KNF
Diffstat (limited to 'usr.sbin/hostapd/apme.c')
-rw-r--r--usr.sbin/hostapd/apme.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/hostapd/apme.c b/usr.sbin/hostapd/apme.c
index e131924b471..b36da8fd5ed 100644
--- a/usr.sbin/hostapd/apme.c
+++ b/usr.sbin/hostapd/apme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apme.c,v 1.1 2005/04/13 18:12:23 reyk Exp $ */
+/* $OpenBSD: apme.c,v 1.2 2005/04/13 18:25:28 henning Exp $ */
/*
* Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net>
@@ -142,8 +142,8 @@ hostapd_apme_init(struct hostapd_config *cfg)
i = 1;
if (ioctl(cfg->c_apme_raw, BIOCIMMEDIATE, &i) == -1)
- hostapd_fatal("failed to set BPF immediate mode on \"%s\": %s\n",
- cfg->c_apme_iface, strerror(errno));
+ hostapd_fatal("failed to set BPF immediate mode on \"%s\": "
+ "%s\n", cfg->c_apme_iface, strerror(errno));
bzero(&ifr, sizeof(struct ifreq));
strlcpy(ifr.ifr_name, cfg->c_apme_iface, sizeof(ifr.ifr_name));