diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-01-03 09:24:23 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-01-03 09:24:23 -0500 |
commit | 7b432754a88822894a7fd97cca478b6497de1103 (patch) | |
tree | 3751e564a50b5ef2195c6ef438128596f452304a /driver_garmin.c | |
parent | a3eab9a67f99d5ff7ab94a34b3395725abbed3f0 (diff) | |
download | gpsd-7b432754a88822894a7fd97cca478b6497de1103.tar.gz |
Suppress a compiler warning. All regression tests pass.
Diffstat (limited to 'driver_garmin.c')
-rw-r--r-- | driver_garmin.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/driver_garmin.c b/driver_garmin.c index 518fff0d..97a1d76b 100644 --- a/driver_garmin.c +++ b/driver_garmin.c @@ -916,8 +916,7 @@ static bool garmin_usb_detect(struct gps_device_t *session) if (sizeof(session->driver.garmin.Buffer) < sizeof(Packet_t)) { /* dunno how this happens, but it does on some compilers */ gpsd_report(LOG_ERROR, - "Garmin: garmin_usb_detect: Compile error, garmin.Buffer too small.\n", - strerror(errno)); + "Garmin: garmin_usb_detect: Compile error, garmin.Buffer too small.\n"); return false; } |