summaryrefslogtreecommitdiff
path: root/gps2udp.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-21 05:45:29 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-21 05:45:29 -0400
commit517ac3dfb0934e1fa951c5a803069ff53f881726 (patch)
tree0e709b673dcb590aa268dc6a9e1200fe303b7c72 /gps2udp.c
parent6d8c454f293d606aff0c26b09a4db5d313b627ae (diff)
downloadgpsd-517ac3dfb0934e1fa951c5a803069ff53f881726.tar.gz
String fixes in gps2udp pointed out by Reinhard Arlt.
Diffstat (limited to 'gps2udp.c')
-rw-r--r--gps2udp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gps2udp.c b/gps2udp.c
index dbb6a16d..2575fba5 100644
--- a/gps2udp.c
+++ b/gps2udp.c
@@ -171,7 +171,7 @@ static int open_udp(char **hostport)
remote[channel].sin_family = (sa_family_t)AF_INET;
hp = gethostbyname(hostname);
if (hp==NULL) {
- fprintf(stderr, "gps2udp: syntaxe is [-u hostname:port] [%s] is not a valid hostnamer\n",hostname);
+ fprintf(stderr, "gps2udp: syntax is [-u hostname:port] [%s] is not a valid hostname\n",hostname);
return (-1);
}
@@ -194,7 +194,6 @@ static void usage(void)
"-b Run in background as a daemon.\n"
"-d [0-2] 1 display sent packets, 2 ignored packets.\n"
"-v Print version and exit.\n\n"
- "You must specify one, or more, of -r, -R, or -w\n"
"example: gps2udp -a -n -c 2 -d 1 -u data.aishub.net:2222 fridu.net\n"
);
}