summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gpsd.c7
-rw-r--r--gpsdctl.c5
2 files changed, 7 insertions, 5 deletions
diff --git a/gpsd.c b/gpsd.c
index 09f9f834..b7973065 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -741,9 +741,10 @@ static void handle_control(int sfd, char *buf)
/*
* The only other place in the code that knows about the format
- * of these commands is the gpsd_control() function in
- * gpsdctl.c. Be careful about keeping them in sync, or hotplugging
- * will have mysterious failures.
+ * of the + and - commands is the gpsd_control() function in
+ * gpsdctl.c. The only other olace that knows about ! is the
+ * control_send(0 function in gpsmon.c. Be careful about keeping
+ * them in sync, or hotplugging will have mysterious failures.
*/
/*@ -sefparams @*/
if (buf[0] == '-') {
diff --git a/gpsdctl.c b/gpsdctl.c
index 0332df9f..c5d130b0 100644
--- a/gpsdctl.c
+++ b/gpsdctl.c
@@ -90,8 +90,9 @@ static int gpsd_control(char *action, char *argument)
* 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.
+ * the add and remove 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) {
/*