On Wed, 30 Mar 2016 14:29:05 -0600, Theo de Raadt wrote: > > /usr/src/usr.bin/rdistd/server.c:845: warning: zero-length printf format st > ring > > defs.h:void error(const char *, ...) __attribute__((format (printf, 1, 2))); > > That seems to be the source of this warning. That function is not > printf-like, in that it produces an implicit newline... > > Shrug, it is contained within this program. Whatever works.
It is no worse than warn(3) and err(3) in that respect. All we really want from the printf format attribute is to help avoid printf format bugs. - todd
