summaryrefslogtreecommitdiff
path: root/driver_proto.c
diff options
context:
space:
mode:
authorJon Schlueter <jon.schlueter@gmail.com>2011-02-26 06:24:44 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-02-26 08:17:24 -0500
commit02c04edab6f0ef82d1c72f5ee344590650110989 (patch)
tree6c84fca90d3f745a735950f3a3ca595aea9b3798 /driver_proto.c
parentea74d208920f3ba345751ce13a5051a6c6fe8a47 (diff)
downloadgpsd-02c04edab6f0ef82d1c72f5ee344590650110989.tar.gz
Match debug levels passed into gpsd_hexdump_wrapper with gpsd_report() calls.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'driver_proto.c')
-rw-r--r--driver_proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_proto.c b/driver_proto.c
index 165ee4ae..d6fd8dba 100644
--- a/driver_proto.c
+++ b/driver_proto.c
@@ -287,7 +287,7 @@ gps_mask_t _proto__dispatch(struct gps_device_t *session, unsigned char *buf, si
/* we may need to dump the raw packet */
gpsd_report(LOG_RAW, "raw _proto_ packet type 0x%02x length %d: %s\n",
- type, len, gpsd_hexdump_wrapper(buf, len, LOG_WARN));
+ type, len, gpsd_hexdump_wrapper(buf, len, LOG_RAW));
/*
* The tag field is only 8 bytes; be careful you do not overflow.