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

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

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, ...)?


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.

Steven Chamberlain

Reply to: