summaryrefslogtreecommitdiff
path: root/gpsdecode.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-11-26 04:55:22 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-11-26 04:55:22 +0000
commit805a81c22888a2f69c31286924a2ede10d3fe59b (patch)
treefadbc8ad3d8a81152ecac84ee400b1a7d187ec79 /gpsdecode.c
parentad2de8fb0b85e78f228a605fa5f405b4dd743b10 (diff)
downloadgpsd-805a81c22888a2f69c31286924a2ede10d3fe59b.tar.gz
Corrections to the AIS specification, and one fieldname.
Diffstat (limited to 'gpsdecode.c')
-rw-r--r--gpsdecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsdecode.c b/gpsdecode.c
index 64a264f3..113e65c7 100644
--- a/gpsdecode.c
+++ b/gpsdecode.c
@@ -258,7 +258,7 @@ static void aivdm_csv_dump(struct ais_t *ais, char *buf, size_t buflen)
case 21: /* Aid to Navigation */
(void)snprintf(buf+strlen(buf), buflen-strlen(buf),
"%u,%s,%u,%d,%d,%u,%u,%u,%u,%u,%u,%u,0x%x,%u,%u",
- ais->type21.type,
+ ais->type21.aid_type,
ais->type21.name,
(uint)ais->type21.accuracy,
ais->type21.lon,