✘bad printf

Gary E. Miller gem at rellim.com
Sat Dec 30 03:11:59 UTC 2017

Yo All!

I'm getting a new issue on giy head;

[ 97/132] Compiling ntpd/ntp_signd.c
In file included from ../../include/ntp_stdlib.h:16:0,
                 from ../../include/ntp.h:15,
                 from ../../include/ntpd.h:11,
                 from ../../ntpd/ntp_loopfilter.c:16:
../../ntpd/ntp_loopfilter.c: In function 'rstclock':
../../ntpd/ntp_loopfilter.c:1005:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uptime_t {aka unsigned int}' [-Wformat=]
         DPRINT(2, ("local_clock: mu %lu state %d poll %d count %d\n",
      current_time - clock_epoch, trans, sys_poll,
../../include/ntp_debug.h:27:12: note: in definition of macro 'DPRINT'
    mprintf arg;   \

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20171229/5b6c24f0/attachment.bin>

More information about the devel mailing list