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

2011-12-16 Thread Stefan Esser
Am 16.12.2011 12:27, schrieb Alexander Best: > 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

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

2011-12-16 Thread Alexander Best
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 equaiva

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

2011-12-06 Thread Alexander Best
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 equaiva

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

2011-12-06 Thread David Schultz
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,

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

2011-12-05 Thread Andriy Gapon
on 05/12/2011 16:38 Alexander Best said the following: > On Mon Dec 5 11, Sergey Kandaurov wrote: >> On 5 December 2011 02:22, Alexander Best wrote: >>> hi there, >>> >>> i was going through the clang warnings from a GENERIC buildkernel and >>> noticed >>> the following: >>> >>> ===> drm/mga (al

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

2011-12-05 Thread Alexander Best
On Mon Dec 5 11, Sergey Kandaurov wrote: > On 5 December 2011 02:22, Alexander Best wrote: > > hi there, > > > > i was going through the clang warnings from a GENERIC buildkernel and > > noticed > > the following: > > > > ===> drm/mga (all) > > /usr/subversion-src/sys/modules/drm/mga/../../../de

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

2011-12-05 Thread Sergey Kandaurov
On 5 December 2011 02:22, Alexander Best wrote: > hi there, > > i was going through the clang warnings from a GENERIC buildkernel and noticed > the following: > > ===> drm/mga (all) > /usr/subversion-src/sys/modules/drm/mga/../../../dev/drm/mga_state.c:56:2: > error: invalid conversion specifier

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

2011-12-04 Thread Alexander Best
hi there, i was going through the clang warnings from a GENERIC buildkernel and noticed the following: ===> drm/mga (all) /usr/subversion-src/sys/modules/drm/mga/../../../dev/drm/mga_state.c:56:2: error: invalid conversion specifier 'Z' [-Werror,-Wformat-invalid-specifier] BEGIN_DMA(2);