diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-28 18:53:11 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-28 18:53:11 -0400 |
commit | c651976d406e14ee43b48357c86b7b78d6e94821 (patch) | |
tree | 308816b29c9992ff89938013a6226bf9deb49c4f /gpsmon.c | |
parent | 2807b4d18ae2a229c45e54f8423015c1ef8c371d (diff) | |
download | gpsd-c651976d406e14ee43b48357c86b7b78d6e94821.tar.gz |
Scan-build and splint cleanup. All regression tests pass.
Diffstat (limited to 'gpsmon.c')
-rw-r--r-- | gpsmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -328,7 +328,7 @@ bool monitor_control_send( /*@in@*/ unsigned char *buf, size_t len) if (!serial) { /* stop pretending now */ - session.gpsdata.gps_fd = savefd; + /*@i1@*/session.gpsdata.gps_fd = savefd; /* enough room for "ERROR\r\n\0" */ /*@ -sefparams @*/ assert(read(controlfd, buf, 8) != -1); |