summaryrefslogtreecommitdiffstats
path: root/usr.sbin/faithd/rsh.c
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-02-10 19:42:42 +0000
committershin <shin@FreeBSD.org>2000-02-10 19:42:42 +0000
commit45bda4b5304e92e11573063a453874bc9d16a306 (patch)
tree389611a60cb08c2cda79028b0fc699b5385a6eec /usr.sbin/faithd/rsh.c
parent0539d56f5e4dcf77c207320d6ee06b0ca8408698 (diff)
downloadFreeBSD-src-45bda4b5304e92e11573063a453874bc9d16a306.zip
FreeBSD-src-45bda4b5304e92e11573063a453874bc9d16a306.tar.gz
Wording fixes
Submitted by: charnier
Diffstat (limited to 'usr.sbin/faithd/rsh.c')
-rw-r--r--usr.sbin/faithd/rsh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/faithd/rsh.c b/usr.sbin/faithd/rsh.c
index c6e8357..e66ced1 100644
--- a/usr.sbin/faithd/rsh.c
+++ b/usr.sbin/faithd/rsh.c
@@ -69,7 +69,7 @@ rsh_relay(int s_src, int s_dst)
if (error == -1)
exit_failure("select %d: %s", s_src, ERRSTR);
else if (error == 0)
- exit_failure("connecion timeout");
+ exit_failure("connection timeout");
n = read(s_src, rshbuf, sizeof(rshbuf));
if (rshbuf[0] != 0) {
@@ -112,7 +112,7 @@ relay(int src, int dst)
close(dst);
close(s_ctl);
close(s_ctl6);
- exit_success("terminating rsh/contorol connections");
+ exit_success("terminating rsh/control connections");
break;
default:
write(s_snd, rshbuf, n);
@@ -180,7 +180,7 @@ rsh_dual_relay(int s_src, int s_dst)
if (error == -1)
exit_failure("select 4 sockets: %s", ERRSTR);
else if (error == 0)
- exit_failure("connecion timeout");
+ exit_failure("connection timeout");
if (half == NO && FD_ISSET(s_src, &readfds)) {
s_rcv = s_src;
OpenPOWER on IntegriCloud