summaryrefslogtreecommitdiff
path: root/garmin.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2006-10-31 17:36:16 +0000
committerGary E. Miller <gem@rellim.com>2006-10-31 17:36:16 +0000
commit9b6ccdfb9d11bc15056be8c9a6525ce56b2eeeff (patch)
treed0ae73c763e5bc8dfc3613049aeecaeca8012dc1 /garmin.c
parenta530ee8f0f76f88d0e7c7fd51fb9354258ed187a (diff)
downloadgpsd-9b6ccdfb9d11bc15056be8c9a6525ce56b2eeeff.tar.gz
Silence stupid splint message.
Diffstat (limited to 'garmin.c')
-rw-r--r--garmin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/garmin.c b/garmin.c
index be198c6a..8351ccd7 100644
--- a/garmin.c
+++ b/garmin.c
@@ -727,7 +727,7 @@ static bool garmin_detect(struct gps_device_t *session)
}
ok = false;
- while ( 0 < fread( buf, sizeof(buf), 1, fp ) ) {
+ while ( 0 != fread( buf, sizeof(buf), 1, fp ) ) {
if ( strstr( buf, "garmin_gps") ) {
ok = true;
break;