summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-24 11:49:04 -0700
committerGary E. Miller <gem@rellim.com>2019-04-24 11:49:04 -0700
commitdd1da2136b5d626029044769bcd86acf6e449f8a (patch)
tree4c035bcd5969c38fd4291ebcd48b158573839bed /libgpsd_core.c
parent3a50f86b58854476c074c1f4fd53afd7c9282394 (diff)
downloadgpsd-dd1da2136b5d626029044769bcd86acf6e449f8a.tar.gz
irf/gpsd_core: Fix two 32 bit compat nits.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c2
1 files changed, 1 insertions, 1 deletions
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,