[pkg-ntp-maintainers] Bug#653771: Bug#653771: FTBFS on kfreebsd-* due to -Wformat-security

Steven Chamberlain steven at pyro.eu.org
Sat Dec 31 21:02:02 UTC 2011


On 31/12/11 20:48, Peter Eisentraut wrote:
> On fre, 2011-12-30 at 23:29 +0000, Steven Chamberlain wrote:
>> My new patch (attached) fixes only those parts, and I am now able to
>> build successfully on kfreebsd-i386.
> 
> Why did you change printf to fprintf(stdout, ...)?

Hi,

I saw it written that way in other code, functionally it would be
identical, so I was just trying to be consistent, e.g.:

./ntpd/refclock_jupiter.c:903:	fprintf(stdout, "%s: ", function);

But actually use of printf seems more common overall... I should
probably have kept it the same.

Regards,
-- 
Steven Chamberlain
steven at pyro.eu.org





More information about the pkg-ntp-maintainers mailing list