summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-02-16 07:10:31 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-02-16 07:10:31 -0500
commitab36b5aa971bf76e021de0e62a85a6e2b3ce7cba (patch)
tree0acbba9c4397733062d3c5e1a5a420cfae0dc3ed /gpsd.c
parentbfd5cc96455b3e986390ed64d4d414694c5729b3 (diff)
downloadgpsd-ab36b5aa971bf76e021de0e62a85a6e2b3ce7cba.tar.gz
Data hiding.
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.c b/gpsd.c
index 5c993b17..6c510aa4 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -1346,7 +1346,7 @@ static void json_report(struct subscriber_t *sub,
* and just pass the through here.
*/
if ((changed & SUBFRAME_IS) != 0) {
- json_subframe_dump(device, buf, sizeof(buf));
+ json_subframe_dump(&device->gpsdata, buf, sizeof(buf));
(void)throttled_write(sub, buf, strlen(buf));
}
#ifdef COMPASS_ENABLE