summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-28 18:53:11 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-03-28 18:53:11 -0400
commitc651976d406e14ee43b48357c86b7b78d6e94821 (patch)
tree308816b29c9992ff89938013a6226bf9deb49c4f /gpsmon.c
parent2807b4d18ae2a229c45e54f8423015c1ef8c371d (diff)
downloadgpsd-c651976d406e14ee43b48357c86b7b78d6e94821.tar.gz
Scan-build and splint cleanup. All regression tests pass.
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsmon.c b/gpsmon.c
index 1986f39b..a243d3a9 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -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);