diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-11-02 05:54:45 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-11-02 05:54:45 +0000 |
commit | 77e2a6c9899da36c4c8dadacc1751a3660894411 (patch) | |
tree | 4eb7a61591cb0fabc5ff25358c1ee776cb730763 /tsip.c | |
parent | de91bfec729664f034f604d40c938220420d3259 (diff) | |
download | gpsd-77e2a6c9899da36c4c8dadacc1751a3660894411.tar.gz |
splint cleanup.
Diffstat (limited to 'tsip.c')
-rw-r--r-- | tsip.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -221,10 +221,12 @@ static gps_mask_t tsip_analyze(struct gps_device_t *session) case 0x45: /* Software Version Information */ if (len != 10) break; + /*@ -formattype @*/ (void)snprintf(session->subtype, sizeof(session->subtype), "%d.%d %02d%02d%02d %d.%d %02d%02d%02d", getub(buf,0),getub(buf,1),getub(buf,4),getub(buf,2),getub(buf,3), getub(buf,5),getub(buf,6),getub(buf,9),getub(buf,7),getub(buf,8)); + /*@ +formattype @*/ gpsd_report(LOG_INF, "Software version: %s\n", session->subtype); mask |= DEVICEID_SET; break; |