summaryrefslogtreecommitdiffstats
path: root/tools/tools/ath/athaggrstats/athaggrstats.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tools/ath/athaggrstats/athaggrstats.c')
-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