summaryrefslogtreecommitdiff
path: root/gpsctl.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-24 11:34:00 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-24 11:37:01 -0400
commit617ade42a61cdddd6eb6ebd89711c7adf6275a1f (patch)
tree7ff65115ee4612e9a3c06d67ebc104401ca3d459 /gpsctl.c
parent4bf5e0bd3a766511cf273ffd7162af9f2f8e64fb (diff)
downloadgpsd-617ade42a61cdddd6eb6ebd89711c7adf6275a1f.tar.gz
Fix trivial but fatal errors introduced by last commit.
All regtession tests pass. gpsmon works live on GR601-W (with PPS).
Diffstat (limited to 'gpsctl.c')
-rw-r--r--gpsctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsctl.c b/gpsctl.c
index 49037bed..910d5004 100644
--- a/gpsctl.c
+++ b/gpsctl.c
@@ -666,7 +666,7 @@ int main(int argc, char **argv)
for (hunting = true; hunting; )
{
fd_set efds;
- switch(gpsd_await_data(&rfds, maxfd, &all_fds, context.debug))
+ switch(gpsd_await_data(&rfds, &efds, maxfd, &all_fds, context.debug))
{
case AWAIT_GOT_INPUT:
break;