diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-02-21 10:34:31 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-02-21 10:34:31 -0500 |
commit | 1b197040450b8d975d2594174e748761ceccd506 (patch) | |
tree | 7c123bff2aacd7f9f08d3df5af5e076096371bd3 /libgpsd_core.c | |
parent | bf6e89f792a12789fff79f54ce6df21ee17bfd58 (diff) | |
download | gpsd-1b197040450b8d975d2594174e748761ceccd506.tar.gz |
A log message needed to move. No logic changes.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index a1d7654d..314ec861 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -710,9 +710,6 @@ void gpsd_clear(struct gps_device_t *session) session->driver.sirf.satcounter = 0; #endif /* SIRF_ENABLE */ packet_init(&session->packet); - gpsd_report(LOG_INF, - "gpsd_activate(): opened GPS (fd %d)\n", - session->gpsdata.gps_fd); // session->gpsdata.online = 0; session->gpsdata.fix.mode = MODE_NOT_SEEN; session->gpsdata.status = STATUS_NO_FIX; @@ -812,6 +809,9 @@ int gpsd_activate(struct gps_device_t *session) foundit: #endif /* NON_NMEA_ENABLE */ gpsd_clear(session); + gpsd_report(LOG_INF, + "gpsd_activate(): activated GPS (fd %d)\n", + session->gpsdata.gps_fd); /* * We might know the device's type, but we shoudn't assume it has * retained its settings. A revert hook might well have undone |