summaryrefslogtreecommitdiff
path: root/gpsdctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpsdctl.c')
-rw-r--r--gpsdctl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gpsdctl.c b/gpsdctl.c
index 08a78216..0332df9f 100644
--- a/gpsdctl.c
+++ b/gpsdctl.c
@@ -88,6 +88,10 @@ static int gpsd_control(char *action, char *argument)
* We've got a live connection to the gpsd control socket. No
* need to parse the response, because gpsd will lock on to the
* device if it's really a GPS and ignore it if it's not.
+ *
+ * The only other place in the code that knows about the format of
+ * these commands is the handle_control() function in gpsd.c. Be careful
+ * about keeping them in sync, or hotplugging will have nysterious failures.
*/
if (strcmp(action, "add") == 0) {
/*