diff options
author | Philippe Charnier <charnier@FreeBSD.org> | 2000-11-28 18:11:06 +0000 |
---|---|---|
committer | Philippe Charnier <charnier@FreeBSD.org> | 2000-11-28 18:11:06 +0000 |
commit | 6d3f37938b3bc1030c226baf7423e3e7566bf6d4 (patch) | |
tree | 25fc1406abb0c67bea21197a8a5ae9f0ffbc750a | |
parent | cf6b5cdb0f8f8d63a491f8b954616835403dadad (diff) |
Make enumerated list for flags. Spelling.
Notes
Notes:
svn path=/head/; revision=69312
-rw-r--r-- | usr.sbin/faithd/faithd.8 | 18 | ||||
-rw-r--r-- | usr.sbin/faithd/faithd.c | 4 | ||||
-rw-r--r-- | usr.sbin/faithd/rsh.c | 4 |
3 files changed, 12 insertions, 14 deletions
diff --git a/usr.sbin/faithd/faithd.8 b/usr.sbin/faithd/faithd.8 index 5b292de81c2b..d7e0fdcf2102 100644 --- a/usr.sbin/faithd/faithd.8 +++ b/usr.sbin/faithd/faithd.8 @@ -151,22 +151,20 @@ will work as TCP relaying daemon for specified .Ar service as described above. .Pp -If -.Fl d -is given, debugging information will be generated using +The following options are available: +.Bl -tag -width indent +.It Fl d +Debugging information will be generated using .Xr syslog 3 . -If -.Fl p -is given, -.Nm -will use privileged TCP port number as source port, +.It Fl p +Use privileged TCP port number as source port, for IPv4 TCP connection toward final destination. For relaying .Xr ftp 1 and .Xr rlogin 1 , -.Fl p -is not necessary as special program code is supplied. +this flag is not necessary as special program code is supplied. +.El .Pp .Nm will relay both normal and out-of-band TCP data. diff --git a/usr.sbin/faithd/faithd.c b/usr.sbin/faithd/faithd.c index 65c2ab318d12..fddf4023cd14 100644 --- a/usr.sbin/faithd/faithd.c +++ b/usr.sbin/faithd/faithd.c @@ -191,7 +191,7 @@ inetd_main(int argc, char **argv) openlog(logname, LOG_PID | LOG_NOWAIT, LOG_DAEMON); if (argc >= MAXARGV) - exit_failure("too many augments"); + exit_failure("too many arguments"); serverarg[0] = serverpath = path; for (i = 1; i < argc; i++) serverarg[i] = argv[i]; @@ -359,7 +359,7 @@ daemon_main(int argc, char **argv) syslog(LOG_INFO, "Staring faith daemon for %s port", service); play_service(s_wld); - /*NOTRECHED*/ + /*NOTREACHED*/ exit(1); /*pacify gcc*/ } diff --git a/usr.sbin/faithd/rsh.c b/usr.sbin/faithd/rsh.c index 735f01e8812e..6d811472e351 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; |