svn commit: r213769 - head/sys/geom/part

Stefan Farfeleder stefanf at FreeBSD.org
Wed Oct 13 11:42:35 UTC 2010


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


More information about the svn-src-head mailing list