summaryrefslogtreecommitdiff
path: root/driver_sirf.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-10-02 02:46:31 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-10-02 02:46:31 +0000
commit58717950a7882ba920aeb2044119237fb01f8085 (patch)
tree65c40626e4d470b67512d8a94fa8c9bea703648d /driver_sirf.c
parentee286538bb8476ed968615383f938c6c7719a5f3 (diff)
downloadgpsd-58717950a7882ba920aeb2044119237fb01f8085.tar.gz
My bright idea to use timestamp() to set skyview times backfired...
...making the regression tests nondeterministic. Oh well. Fixed. All drivers now use the LOG_DATA convention.
Diffstat (limited to 'driver_sirf.c')
-rw-r--r--driver_sirf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_sirf.c b/driver_sirf.c
index 7d0ff756..94113ed3 100644
--- a/driver_sirf.c
+++ b/driver_sirf.c
@@ -314,7 +314,7 @@ static gps_mask_t sirf_msg_swversion(struct gps_device_t *session, unsigned char
gpsd_report(LOG_PROG, "Enabling subframe transmission...\n");
(void)sirf_write(session->gpsdata.gps_fd, enablesubframe);
}
- gpsd_report(LOG_DATA, "FV 0x06: subtype='%s' mask=DEVEICEID\n",
+ gpsd_report(LOG_DATA, "FV 0x06: subtype='%s' mask={DEVEICEID}\n",
session->subtype);
return DEVICEID_SET;
}
@@ -407,7 +407,7 @@ static gps_mask_t sirf_msg_svinfo(struct gps_device_t *session, unsigned char *b
(void)ntpshm_put(session,session->gpsdata.skyview_time+0.8);
}
#endif /* NTPSHM_ENABLE */
- gpsd_report(LOG_DATA, "MTD 0x04: visible=%d mask=SATELLITE\n",
+ gpsd_report(LOG_DATA, "MTD 0x04: visible=%d mask={SATELLITE}\n",
session->gpsdata.satellites_visible);
return SATELLITE_SET;
}