summaryrefslogtreecommitdiffstats
path: root/usr.sbin/faithd/rsh.c
diff options
context:
space:
mode:
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