summaryrefslogtreecommitdiff
path: root/driver_sirf.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-09-21 04:44:43 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-09-21 04:44:43 -0400
commit67219a3b123b0e05c24954dd769659ac17048472 (patch)
treeafd96febed258e19dc0e87fc5fb0828a7cfa42a4 /driver_sirf.c
parentcf6ee97be72e5253aabac2e49f212fce32d26e2d (diff)
downloadgpsd-67219a3b123b0e05c24954dd769659ac17048472.tar.gz
Leapsecond setup needs to be visible.
Diffstat (limited to 'driver_sirf.c')
-rw-r--r--driver_sirf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/driver_sirf.c b/driver_sirf.c
index 8134a487..1b03ccd8 100644
--- a/driver_sirf.c
+++ b/driver_sirf.c
@@ -981,8 +981,9 @@ static gps_mask_t sirf_msg_ppstime(struct gps_device_t *session,
gpsd_report(LOG_RAW, "SiRF: NTPD just SEEN_UTC_2\n");
}
gpsd_report(LOG_PROG,
- "SiRF: NTPD valid time MID 0x34, seen=0x%02x\n",
- session->driver.sirf.time_seen);
+ "SiRF: NTPD valid time MID 0x34, seen=0x%02x, leap=%d\n",
+ session->driver.sirf.time_seen,
+ session->context->leap_seconds);
session->driver.sirf.time_seen |= TIME_SEEN_UTC_2;
#endif /* NTPSHM_ENABLE */
mask |= TIME_SET;