From owner-svn-src-head@FreeBSD.ORG Fri Nov 9 14:58:26 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DCFEEC43; Fri, 9 Nov 2012 14:58:26 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id C2FA78FC0C; Fri, 9 Nov 2012 14:58:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qA9EwQsM094248; Fri, 9 Nov 2012 14:58:26 GMT (envelope-from rdivacky@svn.freebsd.org) Received: (from rdivacky@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qA9EwQMc094247; Fri, 9 Nov 2012 14:58:26 GMT (envelope-from rdivacky@svn.freebsd.org) Message-Id: <201211091458.qA9EwQMc094247@svn.freebsd.org> From: Roman Divacky Date: Fri, 9 Nov 2012 14:58:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242826 - head/sys/dev/asmc X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2012 14:58:26 -0000 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);