summaryrefslogtreecommitdiff
path: root/driver_nmea.c
diff options
context:
space:
mode:
authorJon Schlueter <jon.schlueter@gmail.com>2011-03-05 23:03:27 -0500
committerJon Schlueter <jon.schlueter@gmail.com>2011-03-05 23:03:27 -0500
commit0f1977b42db947d9200c3dd413ed72b4ca6888a7 (patch)
treeafa8395fa6a5a14fd6aee7182828f225cb0e9d53 /driver_nmea.c
parent15a36f29522c0159e61dfebfdbc0413099d4b0bf (diff)
downloadgpsd-0f1977b42db947d9200c3dd413ed72b4ca6888a7.tar.gz
expand logging for error condition of too many satellites reported
in driver_nmea log how many was reported in the error log
Diffstat (limited to 'driver_nmea.c')
-rw-r--r--driver_nmea.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/driver_nmea.c b/driver_nmea.c
index 9f3c4a9c..ab0b1e40 100644
--- a/driver_nmea.c
+++ b/driver_nmea.c
@@ -562,7 +562,8 @@ static gps_mask_t processGPGSV(int count, char *field[],
for (fldnum = 4; fldnum < count;) {
if (session->gpsdata.satellites_visible >= MAXCHANNELS) {
- gpsd_report(LOG_ERROR, "internal error - too many satellites!\n");
+ gpsd_report(LOG_ERROR, "internal error - too many satellites [%d]!\n",
+ session->gpsdata.satellites_visible);
gpsd_zero_satellites(&session->gpsdata);
break;
}