From dd1da2136b5d626029044769bcd86acf6e449f8a Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Wed, 24 Apr 2019 11:49:04 -0700 Subject: irf/gpsd_core: Fix two 32 bit compat nits. --- libgpsd_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgpsd_core.c') diff --git a/libgpsd_core.c b/libgpsd_core.c index 7e876ccf..098a3371 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -1548,7 +1548,7 @@ gps_mask_t gpsd_poll(struct gps_device_t *session) if ((session->gpsdata.set & TIME_SET) != 0) { if (session->newdata.time > time(NULL) + (60 * 60 * 24 * 365)) gpsd_log(&session->context->errout, LOG_WARN, - "date (%,3f) more than a year in the future!\n", + "date (%.3f) more than a year in the future!\n", session->newdata.time); else if (session->newdata.time < 0) gpsd_log(&session->context->errout, LOG_ERROR, -- cgit v1.2.1