summaryrefslogtreecommitdiff
path: root/sirfmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-08-20 16:57:55 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-08-20 16:57:55 +0000
commit26970286199d9c1d19a214bcf8405e63798f9496 (patch)
tree40a5b193c6f3b66f186a6b72302e873e9ccd88c2 /sirfmon.c
parentf2e82b634c39a4a3e2c45590f1dcf2de4be79a7c (diff)
downloadgpsd-26970286199d9c1d19a214bcf8405e63798f9496.tar.gz
splint cleanup after CK's strcat()/strlcopy() cleanup.
Diffstat (limited to 'sirfmon.c')
-rw-r--r--sirfmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sirfmon.c b/sirfmon.c
index a8e1308a..650e5d0a 100644
--- a/sirfmon.c
+++ b/sirfmon.c
@@ -144,7 +144,7 @@ static int nmea_send(int fd, const char *fmt, ... )
va_start(ap, fmt) ;
(void)vsnprintf(buf, sizeof(buf)-5, fmt, ap);
va_end(ap);
- strlcat(buf, "*", BUFLEN);
+ (void)strlcat(buf, "*", BUFLEN);
nmea_add_checksum(buf);
(void)fputs(buf, stderr); /* so user can watch the baud hunt */
status = (size_t)write(fd, buf, strlen(buf));