summaryrefslogtreecommitdiff
path: root/xgps.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 /xgps.c
parentf2e82b634c39a4a3e2c45590f1dcf2de4be79a7c (diff)
downloadgpsd-26970286199d9c1d19a214bcf8405e63798f9496.tar.gz
splint cleanup after CK's strcat()/strlcopy() cleanup.
Diffstat (limited to 'xgps.c')
-rw-r--r--xgps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xgps.c b/xgps.c
index 0b605ce5..e22e53a9 100644
--- a/xgps.c
+++ b/xgps.c
@@ -527,7 +527,7 @@ static void update_panel(struct gps_data_t *gpsdata,
l = strlen(device)+4;
if ((channelcmd = (char *)malloc(l)) != NULL){
- /*@i1@*/(void)strlcpy(channelcmd, "F=", l);
+ (void)strlcpy(channelcmd, "F=", l);
(void)strlcpy(channelcmd+2, device, l);
(void)gps_query(gpsdata, channelcmd);
(void)free(channelcmd);