diff options
-rw-r--r-- | gpsd.c | 7 | ||||
-rw-r--r-- | gpsdctl.c | 5 |
2 files changed, 7 insertions, 5 deletions
@@ -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] == '-') { @@ -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) { /* |