summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2014-03-06 07:46:32 +0000
committeradrian <adrian@FreeBSD.org>2014-03-06 07:46:32 +0000
commit7091ec9c731d05e7f4651697715feac84796a52c (patch)
treed7c6a167a07b434ebd5060640a8b6d5ae6582bb9 /tools
parent06ae493f77710e3c34899e7de259e53c1c3fa14b (diff)
downloadFreeBSD-src-7091ec9c731d05e7f4651697715feac84796a52c.zip
FreeBSD-src-7091ec9c731d05e7f4651697715feac84796a52c.tar.gz
Fix a compiler warning.
Thanks Clang!
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/ath/athaggrstats/athaggrstats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/ath/athaggrstats/athaggrstats.c b/tools/tools/ath/athaggrstats/athaggrstats.c
index 5c38402..dde0fb8 100644
--- a/tools/tools/ath/athaggrstats/athaggrstats.c
+++ b/tools/tools/ath/athaggrstats/athaggrstats.c
@@ -180,7 +180,7 @@ ath_collect(struct athaggrstatfoo_p *wf, struct ath_tx_aggr_stats *stats)
{
wf->ifr.ifr_data = (caddr_t) stats;
if (ioctl(wf->s, SIOCGATHAGSTATS, &wf->ifr) < 0)
- err(1, wf->ifr.ifr_name);
+ err(1, "%s: ioctl: %s", __func__, wf->ifr.ifr_name);
}
static void
OpenPOWER on IntegriCloud