From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 6 22:48:00 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 7A8441065672; Tue, 6 Dec 2011 22:48:00 +0000 (UTC) Date: Tue, 6 Dec 2011 22:48:00 +0000 From: Alexander Best To: freebsd-hackers@freebsd.org Message-ID: <20111206224800.GA20393@freebsd.org> References: <20111204222203.GA8898@freebsd.org> <20111206215435.GA14529@zim.MIT.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111206215435.GA14529@zim.MIT.EDU> 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:48:00 -0000 On Tue Dec 6 11, David Schultz wrote: > 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. i guess turning the "Z"'s into "z"'s would be the best procedure then. cheers. alex