diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-06-26 10:23:12 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-06-26 10:23:12 -0400 |
commit | 0bc00b1b235914c35bb700a681e1f5c1fd468857 (patch) | |
tree | 057ae3b67ef914cbb80a00c55e391c108a048604 | |
parent | ff831ea34a76f8fc22147f1ddb198de4872a2936 (diff) | |
download | gpsd-0bc00b1b235914c35bb700a681e1f5c1fd468857.tar.gz |
Correct some documentation.
-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) { /* |