diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-11-02 06:01:31 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-11-02 06:01:31 +0000 |
commit | d5ac6f74c152a38fbbd03aa8224ef3846b7cdd7e (patch) | |
tree | 16f9325b8bf3dac2e7a618852e7614f10c6ea448 /tsip.c | |
parent | 267ecb38466e2843869ad1749a87ae8f9222b01a (diff) | |
download | gpsd-d5ac6f74c152a38fbbd03aa8224ef3846b7cdd7e.tar.gz |
Convert some log levels I missed first time around.
Diffstat (limited to 'tsip.c')
-rw-r--r-- | tsip.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -629,7 +629,7 @@ static gps_mask_t tsip_analyze(struct gps_device_t *session) mask |= TIME_SET | LATLON_SET | ALTITUDE_SET | SPEED_SET | TRACK_SET | CLIMB_SET | STATUS_SET | MODE_SET | CYCLE_START_SET; break; default: - gpsd_report(4,"Unhandled TSIP superpacket type 0x%02x\n",u1); + gpsd_report(LOG_WARN,"Unhandled TSIP superpacket type 0x%02x\n",u1); } break; case 0xbb: /* Navigation Configuration */ @@ -644,10 +644,10 @@ static gps_mask_t tsip_analyze(struct gps_device_t *session) f3 = getf(buf,13); /* DOP Mask */ f4 = getf(buf,17); /* DOP Switch */ u5 = getub(buf,21); /* DGPS Age Limit */ - gpsd_report(4, "Navigation Configuration %u %u %u %u %f %f %f %f %u\n",u1,u2,u3,u4,f1,f2,f3,f4,u5); + gpsd_report(LOG_INF, "Navigation Configuration %u %u %u %u %f %f %f %f %u\n",u1,u2,u3,u4,f1,f2,f3,f4,u5); break; default: - gpsd_report(4,"Unhandled TSIP packet type 0x%02x\n",id); + gpsd_report(LOG_WARN,"Unhandled TSIP packet type 0x%02x\n",id); break; } |