strange printf(9) format specifier ("Z") in dev/drm code
Alexander Best
arundel at freebsd.org
Tue Dec 6 22:48:00 UTC 2011
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
More information about the freebsd-hackers
mailing list