summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-06-17 02:57:14 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-06-17 02:57:14 +0000
commit7acb017143131dddf7b4af5ecf2aa8e30eb6fce9 (patch)
treed22271903af412a70cf96baebace55febc0e8181 /packet.c
parentc5f58058185df84f05808146598666deb8fc56c3 (diff)
downloadgpsd-7acb017143131dddf7b4af5ecf2aa8e30eb6fce9.tar.gz
Make the packet getter a bit more explicit about checksum failures.
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packet.c b/packet.c
index d786f4df..a971c793 100644
--- a/packet.c
+++ b/packet.c
@@ -996,7 +996,7 @@ void packet_parse(struct gps_packet_t *lexer)
#endif /* AIVDM_ENABLE */
packet_accept(lexer, NMEA_PACKET);
} else {
- gpsd_report(LOG_WARN, "bad checksum in NMEA packet.\n");
+ gpsd_report(LOG_WARN, "bad checksum in NMEA packet; expected %s.\n", csum);
lexer->state = GROUND_STATE;
}
packet_discard(lexer);