diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-06-17 02:57:14 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-06-17 02:57:14 +0000 |
commit | 7acb017143131dddf7b4af5ecf2aa8e30eb6fce9 (patch) | |
tree | d22271903af412a70cf96baebace55febc0e8181 /packet.c | |
parent | c5f58058185df84f05808146598666deb8fc56c3 (diff) | |
download | gpsd-7acb017143131dddf7b4af5ecf2aa8e30eb6fce9.tar.gz |
Make the packet getter a bit more explicit about checksum failures.
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |