From 2e308506842304547bdbf09af2119d63c4742598 Mon Sep 17 00:00:00 2001 From: Moritz Jodeit Date: Wed, 13 Apr 2005 21:02:45 +0000 Subject: add some missing arguments, where format strings expect them and a minor comment fix. ok reyk@ --- usr.sbin/hostapd/privsep.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'usr.sbin/hostapd/privsep.c') diff --git a/usr.sbin/hostapd/privsep.c b/usr.sbin/hostapd/privsep.c index f45deafe890..849be5a868a 100644 --- a/usr.sbin/hostapd/privsep.c +++ b/usr.sbin/hostapd/privsep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.c,v 1.7 2005/04/13 20:42:16 reyk Exp $ */ +/* $OpenBSD: privsep.c,v 1.8 2005/04/13 21:02:44 moritz Exp $ */ /* * Copyright (c) 2004, 2005 Reyk Floeter @@ -139,7 +139,7 @@ hostapd_priv_init(struct hostapd_config *cfg) event_init(); - /* Pass ALR/TERM/HUP through to child, and accept CHLD */ + /* Pass ALRM/TERM/INT/HUP through to child, and accept CHLD */ signal(SIGALRM, hostapd_sig_relay); signal(SIGTERM, hostapd_sig_relay); signal(SIGINT, hostapd_sig_relay); @@ -336,9 +336,8 @@ hostapd_priv_apme_bssid(struct hostapd_config *cfg) hostapd_must_read(priv_fd, &ret, sizeof(int)); if (ret != 0) - hostapd_fatal("%s: failed to get Host AP's BSSID on" - " \"%s\": %s\n", - cfg->c_apme_iface, strerror(errno)); + hostapd_fatal("failed to get Host AP's BSSID on" + " \"%s\": %s\n", cfg->c_apme_iface, strerror(errno)); hostapd_must_read(priv_fd, &cfg->c_apme_bssid, IEEE80211_ADDR_LEN); cfg->c_stats.cn_tx_apme++; -- cgit v1.2.3