Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: printf args checks



In article <20110823171355.GA26534%asim.lip6.fr@localhost>,
Manuel Bouyer  <bouyer%antioche.eu.org@localhost> wrote:
>Hello,
>I get (for evbmips64-el):
>/dsk/l1/misc/bouyer/current/src/usr.bin/elf2ecoff/elf2ecoff.c: In function 
>'safe
>write':
>/dsk/l1/misc/bouyer/current/src/usr.bin/elf2ecoff/elf2ecoff.c:576:3: error: 
>form
>at not a string literal, argument types not checked
>/dsk/l1/misc/bouyer/current/src/usr.bin/elf2ecoff/elf2ecoff.c:576:3: error: 
>form
>at not a string literal, argument types not checked
>*** [elf2ecoff.o] Error code 1
>
>How does one fix this ?

By not passing format strings where it is not needed to do so. CVS update.

christos



Home | Main Index | Thread Index | Old Index