strange printf(9) format specifier ("Z") in dev/drm code

David Schultz das at FreeBSD.ORG
Tue Dec 6 22:08:47 UTC 2011


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.


More information about the freebsd-hackers mailing list