From owner-svn-src-all@FreeBSD.ORG Wed Oct 13 11:42:35 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E3EF1065670; Wed, 13 Oct 2010 11:42:35 +0000 (UTC) (envelope-from stefan@fafoe.narf.at) Received: from fep11.mx.upcmail.net (fep11.mx.upcmail.net [62.179.121.31]) by mx1.freebsd.org (Postfix) with ESMTP id 53BBB8FC0C; Wed, 13 Oct 2010 11:42:33 +0000 (UTC) Received: from edge02.upcmail.net ([192.168.13.237]) by viefep11-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20101013114231.ENMG4509.viefep11-int.chello.at@edge02.upcmail.net>; Wed, 13 Oct 2010 13:42:31 +0200 Received: from mole.fafoe.narf.at ([213.47.85.26]) by edge02.upcmail.net with edge id JBiU1f03A0a5KZh02BiVKx; Wed, 13 Oct 2010 13:42:30 +0200 X-SourceIP: 213.47.85.26 Received: by mole.fafoe.narf.at (Postfix, from userid 1001) id A92676D439; Wed, 13 Oct 2010 13:42:28 +0200 (CEST) Date: Wed, 13 Oct 2010 13:42:28 +0200 From: Stefan Farfeleder To: Rui Paulo Message-ID: <20101013114228.GH1717@mole.fafoe.narf.at> References: <201010131135.o9DBZxtN086101@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201010131135.o9DBZxtN086101@svn.freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Cloudmark-Analysis: v=1.1 cv=FfKqumoxTXZ+9nPf2j1EcRvkwAYRHfr8aJLFveX/caA= c=1 sm=0 a=Bl3KpXD6Ah4A:10 a=kj9zAlcOel0A:10 a=6I5d2MoRAAAA:8 a=J4qtPDVFNDVRddusnmIA:9 a=mTHYEGksirRIrZlfgbe1tsk2UVwA:4 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r213769 - head/sys/geom/part X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 11:42:35 -0000 On Wed, Oct 13, 2010 at 11:35:59AM +0000, Rui Paulo wrote: > Author: rpaulo > Date: Wed Oct 13 11:35:59 2010 > New Revision: 213769 > URL: http://svn.freebsd.org/changeset/base/213769 > > Log: > The canonical way to print __func__ when using KASSERT() is to write > ("%s", __func__). This avoids clang's -Wformat-string warnings. > That's a stupid warning, clang should know the value of __func__. Stefan