diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-13 03:30:05 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-13 03:30:05 +0000 |
commit | 00cd07ffcaa670709bc492e01d5c97be0262580b (patch) | |
tree | 4f21deae21586a533b279d272d74af3a0899b5e1 /gpsmon.c | |
parent | bff151b7897e75612f871d44087c6f90cf412b52 (diff) | |
download | gpsd-00cd07ffcaa670709bc492e01d5c97be0262580b.tar.gz |
Merge the configurator and probe_subtype methods.
They're now distinguished by an event argument passed to the common
hook function. This is a refactoring step - later, we'll define more
and different events for finer-grained control. All regression tests
pass.
Diffstat (limited to 'gpsmon.c')
-rw-r--r-- | gpsmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -842,7 +842,7 @@ int main (int argc, char **argv) } else if (matchcount == 1) { assert(forcetype != NULL); if (switch_type(forcetype)) - (int)gpsd_switch_driver(&session, forcetype->type_name); + (void)gpsd_switch_driver(&session, forcetype->type_name); } else { monitor_complain("Multiple driver type names match '%s'.", arg); } |