bad printf

Hal Murray hmurray at megapathdsl.net
Sat Dec 30 03:40:21 UTC 2017


> ../../ntpd/ntp_loopfilter.c:1005:20: warning: format '%lu' expects argument=
>  of type 'long unsigned int', but argument 2 has type 'uptime_t {aka unsign=
> ed int}' [-Wformat=3D]
>          DPRINT(2, ("local_clock: mu %lu state %d poll %d count %d\n", 

My bad.  I'll fix.

But first I have to figure out why it slipped through my testing.  I thought 
I covered that case.

-- 
These are my opinions.  I hate spam.





More information about the devel mailing list