summaryrefslogtreecommitdiff
path: root/driver_superstar2.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 /driver_superstar2.c
parent2807b4d18ae2a229c45e54f8423015c1ef8c371d (diff)
downloadgpsd-c651976d406e14ee43b48357c86b7b78d6e94821.tar.gz
Scan-build and splint cleanup. All regression tests pass.
Diffstat (limited to 'driver_superstar2.c')
-rw-r--r--driver_superstar2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_superstar2.c b/driver_superstar2.c
index 4c895373..37c3d4aa 100644
--- a/driver_superstar2.c
+++ b/driver_superstar2.c
@@ -373,7 +373,7 @@ superstar2_write(struct gps_device_t *session, char *msg, size_t msglen)
gpsd_report(LOG_IO, "writing superstar2 control type %d len %zu:%s\n",
(int)msg[1] & 0x7f, msglen,
gpsd_hexdump_wrapper(msg, msglen, LOG_IO));
- return (i = gpsd_write(session, msg, msglen));
+ return gpsd_write(session, msg, msglen);
}
/**