diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-04-25 20:40:10 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-04-25 20:40:10 -0400 |
commit | b68d12625b1a14599a44e192dd2f25869f8851ef (patch) | |
tree | 99343ed085addbf7a72c1411b798c7146c105a3c /serial.c | |
parent | ff545a93f5d68daa35925e966de7ae57a807ba5b (diff) | |
download | gpsd-b68d12625b1a14599a44e192dd2f25869f8851ef.tar.gz |
Log NTP link activation after, not before.
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -434,12 +434,13 @@ void gpsd_assert_sync(struct gps_device_t *session) * 1pps derived time data to ntpd. */ - gpsd_report(LOG_INF, "NTPD ntpd_link_activate: %d\n", - (int)session->shmindex >= 0); /* do not start more than one ntp thread */ if (!(session->shmindex >= 0)) ntpd_link_activate(session); + gpsd_report(LOG_INF, "NTPD ntpd_link_activate: %d\n", + (int)session->shmindex >= 0); + #endif /* NTPSHM_ENABLE */ } |