"%m" formatting code and "syslog like"

2018-08-30 Thread Ian Bruene
Hello I am one of the developers on NTPsec and we are getting warnings on NetBSD 8.0 in the form: ../../ntpd/ntp_io.c:1962:14: warning: %m is only allowed in syslog(3) like functions [-Wformat=] This feature appears to have been added here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=679

Re: "%m" formatting code and "syslog like"

2018-08-30 Thread Joerg Sonnenberger
On Thu, Aug 30, 2018 at 01:11:23PM -0500, Ian Bruene wrote: > > Hello > > I am one of the developers on NTPsec and we are getting warnings on NetBSD > 8.0 in the form: > > ../../ntpd/ntp_io.c:1962:14: warning: %m is only allowed in syslog(3) like > functions [-Wformat=] > > This feature appears