summaryrefslogtreecommitdiff
path: root/driver_sirf.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-06-17 04:07:56 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-06-17 04:07:56 -0400
commit293dc886941f20e2b1ee968587c48e7fc6caff0f (patch)
tree0c03739fbb15268a5afc8e8509c0ed78e05db7ee /driver_sirf.c
parent49dd4b71a4543a7e34aecaf1120b6b5367435cc4 (diff)
downloadgpsd-293dc886941f20e2b1ee968587c48e7fc6caff0f.tar.gz
Remove gpsd_hexdump_wrapper() from everything outside the packet sniffer.
Diffstat (limited to 'driver_sirf.c')
-rw-r--r--driver_sirf.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/driver_sirf.c b/driver_sirf.c
index 1830ebdd..600e2f11 100644
--- a/driver_sirf.c
+++ b/driver_sirf.c
@@ -376,8 +376,8 @@ static gps_mask_t sirf_msg_nlmd(struct gps_device_t *session UNUSED,
* different double orders, neither IEEE754 */
/* FIXME - decode the time, since this is the first MID with a
* good time stamp this will be good for ntpshm time */
- gpsd_report(LOG_PROG, "SiRF: MID 0x1c, NLMD, gps_tow: %f, %s\n",
- (double)gps_tow, gpsd_hexdump_wrapper(&gps_tow, 8, LOG_PROG));
+ gpsd_report(LOG_PROG, "SiRF: MID 0x1c, NLMD, gps_tow: %f\n",
+ (double)gps_tow);
return 0;
}
@@ -983,8 +983,7 @@ gps_mask_t sirf_parse(struct gps_device_t * session, unsigned char *buf,
buf += 4;
len -= 8;
- gpsd_report(LOG_RAW, "SiRF: Raw packet type 0x%02x length %zd: %s\n",
- buf[0], len, gpsd_hexdump_wrapper(buf, len, LOG_RAW));
+ gpsd_report(LOG_RAW, "SiRF: Raw packet type 0x%02x\n", buf[0]);
(void)snprintf(session->gpsdata.tag, sizeof(session->gpsdata.tag),
"MID%d", (int)buf[0]);