summaryrefslogtreecommitdiffstats
path: root/usr.sbin/faithd/rsh.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2000-11-28 18:11:06 +0000
committercharnier <charnier@FreeBSD.org>2000-11-28 18:11:06 +0000
commit963cc312d0ec623f0651f4334eddeb71ffc0ca3c (patch)
tree9cccf159516284dbd3bc29702c11f403e3d831a4 /usr.sbin/faithd/rsh.c
parent46ed81751fc2748cd7d10705ac47b37aa7bb6fb1 (diff)
downloadFreeBSD-src-963cc312d0ec623f0651f4334eddeb71ffc0ca3c.zip
FreeBSD-src-963cc312d0ec623f0651f4334eddeb71ffc0ca3c.tar.gz
Make enumerated list for flags. Spelling.
Diffstat (limited to 'usr.sbin/faithd/rsh.c')
-rw-r--r--usr.sbin/faithd/rsh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/faithd/rsh.c b/usr.sbin/faithd/rsh.c
index 735f01e..6d81147 100644
--- a/usr.sbin/faithd/rsh.c
+++ b/usr.sbin/faithd/rsh.c
@@ -71,7 +71,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) {
@@ -182,7 +182,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