diff options
author | Gary E. Miller <gem@rellim.com> | 2019-02-04 17:46:32 -0800 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-02-04 17:46:32 -0800 |
commit | 1fbb25eb2d0267a6267d8a662dfacde5a2f571bc (patch) | |
tree | 020649c4c4ec921dda5a5fc65f3306614d67ddf1 /contrib/gpssnmp.c | |
parent | 71bd775bb579b8aabccfb6cd36a17a8281070829 (diff) | |
download | gpsd-1fbb25eb2d0267a6267d8a662dfacde5a2f571bc.tar.gz |
gpssnmp: UPdate for new gps_read() call.
Diffstat (limited to 'contrib/gpssnmp.c')
-rw-r--r-- | contrib/gpssnmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gpssnmp.c b/contrib/gpssnmp.c index d9ccf3e7..9be7ea18 100644 --- a/contrib/gpssnmp.c +++ b/contrib/gpssnmp.c @@ -52,7 +52,7 @@ int main (int argc, char **argv) { int status, used, visible; status = gps_open (GPSD_SHARED_MEMORY, DEFAULT_GPSD_PORT, &gpsdata); - status = gps_read (&gpsdata); + status = gps_read (&gpsdata, NULL, 0); used = gpsdata.satellites_used; visible = gpsdata.satellites_visible; for(i=0; i<=used; i++) { |