Fix compiler warning. Thanks clang!

This commit is contained in:
adrian 2014-03-06 07:49:12 +00:00
parent 35f5691c73
commit e3b5e4d8bf

View File

@ -261,7 +261,7 @@ mwl_collect(struct mwlstatfoo_p *wf, struct mwl_stats *stats)
{
wf->ifr.ifr_data = (caddr_t) stats;
if (ioctl(wf->s, SIOCGMVSTATS, &wf->ifr) < 0)
err(1, wf->ifr.ifr_name);
err(1, "%s: ioctl: %s", __func__, wf->ifr.ifr_name);
}
static void