summaryrefslogtreecommitdiff
path: root/driver_zodiac.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-21 02:30:13 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-21 02:30:13 +0000
commit59e9521fbf3168859bea6c63d8dedebb014d82d7 (patch)
tree3eb7d67c06383052e5831435727324b17068ce1e /driver_zodiac.c
parent5e62d074c50cf47be03948469a36f411ba22f1ef (diff)
downloadgpsd-59e9521fbf3168859bea6c63d8dedebb014d82d7.tar.gz
Fix a very minor bug in Zodiac reporting.
Diffstat (limited to 'driver_zodiac.c')
-rw-r--r--driver_zodiac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/driver_zodiac.c b/driver_zodiac.c
index bf18a565..02a72ed3 100644
--- a/driver_zodiac.c
+++ b/driver_zodiac.c
@@ -401,7 +401,6 @@ static gps_mask_t zodiac_analyze(struct gps_device_t *session)
for (i = 0; i < (int)session->packet.outbuflen; i++)
(void)snprintf(buf+strlen(buf), sizeof(buf)-strlen(buf),
"%02x", (unsigned int)session->packet.outbuffer[i]);
- (void)strlcat(buf, "\n", BUFSIZ);
gpsd_report(LOG_RAW, "Raw Zodiac packet type %d length %zd: %s\n",
id, session->packet.outbuflen, buf);