diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-09 03:20:05 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-09 03:20:05 -0400 |
commit | d471ea870e65222a0fced5130031218c2bf1ab14 (patch) | |
tree | 289272eb8700065cfaecd26c26404f7c105dd8ba /gpsmon.c | |
parent | 4ee2e712a50a47391ee9e4e05aa53be85748b6b0 (diff) | |
download | gpsd-d471ea870e65222a0fced5130031218c2bf1ab14.tar.gz |
Introduce a mode option so gpscotl can be less intrusive than gpsd.
Diffstat (limited to 'gpsmon.c')
-rw-r--r-- | gpsmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -615,7 +615,7 @@ int main(int argc, char **argv) } else { (void)strlcpy(session.gpsdata.dev.path, argv[optind], sizeof(session.gpsdata.dev.path)); - if (gpsd_activate(&session) == -1) { + if (gpsd_activate(&session, O_PROBEONLY) == -1) { gpsd_report(context.debug, LOG_ERROR, "activation of device %s failed, errno=%d\n", session.gpsdata.dev.path, errno); |