diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-18 22:17:54 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-18 22:17:54 +0000 |
commit | cb830d185eece1a07cfc8aaadcb8765278fe1d1f (patch) | |
tree | 753979f5640012c63e1e22e89b344c63552e6953 /gpsctl.c | |
parent | 5fac6068b902e6e361475eddb591acd831194778 (diff) | |
download | gpsd-cb830d185eece1a07cfc8aaadcb8765278fe1d1f.tar.gz |
Simplify the API. The second argument of gpsd_activate() was a fossil.
Diffstat (limited to 'gpsctl.c')
-rw-r--r-- | gpsctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -416,7 +416,7 @@ int main(int argc, char **argv) } gpsd_init(&session, &context, device); gpsd_report(LOG_PROG, "initialization passed.\n"); - if (gpsd_activate(&session, false) == -1) { + if (gpsd_activate(&session) == -1) { gpsd_report(LOG_ERROR, "activation of device %s failed, errno=%d\n", device, errno); |