Date: Fri, 9 Nov 2012 14:58:26 +0000 (UTC) From: Roman Divacky <rdivacky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242826 - head/sys/dev/asmc Message-ID: <201211091458.qA9EwQMc094247@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rdivacky Date: Fri Nov 9 14:58:26 2012 New Revision: 242826 URL: http://svnweb.freebsd.org/changeset/base/242826 Log: Give device_printf format string to pacify clang warning. Modified: head/sys/dev/asmc/asmc.c Modified: head/sys/dev/asmc/asmc.c ============================================================================== --- head/sys/dev/asmc/asmc.c Fri Nov 9 14:46:23 2012 (r242825) +++ head/sys/dev/asmc/asmc.c Fri Nov 9 14:58:26 2012 (r242826) @@ -839,7 +839,7 @@ out: strlcat(buf, buf2, sizeof(buf)); } strlcat(buf, " \n", sizeof(buf)); - device_printf(dev, buf); + device_printf(dev, "%s", buf); } return (error);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211091458.qA9EwQMc094247>