Date: Thu, 6 Mar 2014 07:46:32 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262828 - head/tools/tools/ath/athaggrstats Message-ID: <201403060746.s267kWoO064197@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Thu Mar 6 07:46:32 2014 New Revision: 262828 URL: http://svnweb.freebsd.org/changeset/base/262828 Log: Fix a compiler warning. Thanks Clang! Modified: head/tools/tools/ath/athaggrstats/athaggrstats.c Modified: head/tools/tools/ath/athaggrstats/athaggrstats.c ============================================================================== --- head/tools/tools/ath/athaggrstats/athaggrstats.c Thu Mar 6 07:45:53 2014 (r262827) +++ head/tools/tools/ath/athaggrstats/athaggrstats.c Thu Mar 6 07:46:32 2014 (r262828) @@ -180,7 +180,7 @@ ath_collect(struct athaggrstatfoo_p *wf, { 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403060746.s267kWoO064197>