From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 6 22:08:47 2011 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B95E106564A; Tue, 6 Dec 2011 22:08:47 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id 0B71F8FC1C; Tue, 6 Dec 2011 22:08:46 +0000 (UTC) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.5/8.14.2) with ESMTP id pB6LsZgd014602; Tue, 6 Dec 2011 16:54:35 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.5/8.14.2/Submit) id pB6LsZ6C014601; Tue, 6 Dec 2011 16:54:35 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Tue, 6 Dec 2011 16:54:35 -0500 From: David Schultz To: Alexander Best Message-ID: <20111206215435.GA14529@zim.MIT.EDU> Mail-Followup-To: Alexander Best , freebsd-hackers@freebsd.org References: <20111204222203.GA8898@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111204222203.GA8898@freebsd.org> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: strange printf(9) format specifier ("Z") in dev/drm code X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 22:08:47 -0000 On Sun, Dec 04, 2011, Alexander Best wrote: > ... i couldn't find a reference to an upercase "Z" in the printf(9) man page. > i talked to dinoex on #freebsd-clang (EFNet) and he said that the "Z" might > come from linux'es libc5 and is the equaivalent to glibc's "z". > > can we adjust those lines, so the clang warnings disappear? Yes, 'Z' is an alias for 'z' that is deprecated in glibc and unsupported in FreeBSD, so changing the case should fix it.