svn commit: r262831 - head/tools/tools/mwl/mwlstats
Adrian Chadd
adrian at FreeBSD.org
Thu Mar 6 07:49:12 UTC 2014
Author: adrian
Date: Thu Mar 6 07:49:12 2014
New Revision: 262831
URL: http://svnweb.freebsd.org/changeset/base/262831
Log:
Fix compiler warning. Thanks clang!
Modified:
head/tools/tools/mwl/mwlstats/mwlstats.c
Modified: head/tools/tools/mwl/mwlstats/mwlstats.c
==============================================================================
--- head/tools/tools/mwl/mwlstats/mwlstats.c Thu Mar 6 07:48:43 2014 (r262830)
+++ head/tools/tools/mwl/mwlstats/mwlstats.c Thu Mar 6 07:49:12 2014 (r262831)
@@ -261,7 +261,7 @@ mwl_collect(struct mwlstatfoo_p *wf, str
{
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
More information about the svn-src-all
mailing list