summaryrefslogtreecommitdiff
path: root/driver_sirf.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-12 18:21:52 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-12 18:21:52 -0500
commit695da3accde7b3dade03a1034b1caf56501418f3 (patch)
tree145a6731a46084b26876d319178fae9dd7d745ac /driver_sirf.c
parent4b1c6ecccb0a1dc155f6fe8c40d3c353b79c09a4 (diff)
downloadgpsd-695da3accde7b3dade03a1034b1caf56501418f3.tar.gz
More consistent ise of LOG_PROG.
This logging level is intended to directly explain accompanying I/O messages.
Diffstat (limited to 'driver_sirf.c')
-rw-r--r--driver_sirf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_sirf.c b/driver_sirf.c
index a2eaa752..20baf445 100644
--- a/driver_sirf.c
+++ b/driver_sirf.c
@@ -240,8 +240,8 @@ static bool sirf_write(struct gps_device_t *session, unsigned char *msg)
msg[len + 4] = (unsigned char)((crc & 0xff00) >> 8);
msg[len + 5] = (unsigned char)(crc & 0x00ff);
- gpsd_report(session->context->debug,
- LOG_DATA, "SiRF: Writing control type %02x:\n", msg[4]);
+ gpsd_report(session->context->debug, LOG_PROG,
+ "SiRF: Writing control type %02x:\n", msg[4]);
ok = (gpsd_write(session, (const char *)msg, len+8) == (ssize_t) (len+8));
return (ok);
}