summaryrefslogtreecommitdiff
path: root/gpsmon.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 /gpsmon.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 'gpsmon.c')
-rw-r--r--gpsmon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gpsmon.c b/gpsmon.c
index b29b4ef1..c5547509 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -1002,7 +1002,6 @@ static bool do_command(const char *line)
}
}
break;
-
#ifdef CONTROLSEND_ENABLE
case 'x': /* send control packet */
if (session.device_type == NULL)
@@ -1282,7 +1281,7 @@ int main(int argc, char **argv)
for (;;)
{
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;