diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2014-08-24 11:34:00 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2014-08-24 11:37:01 -0400 |
commit | 617ade42a61cdddd6eb6ebd89711c7adf6275a1f (patch) | |
tree | 7ff65115ee4612e9a3c06d67ebc104401ca3d459 /gpsmon.c | |
parent | 4bf5e0bd3a766511cf273ffd7162af9f2f8e64fb (diff) | |
download | gpsd-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |