git: 6addf2595e5e - main - inetd: Fix typos

From: Warner Losh <imp_at_FreeBSD.org>
Date: Thu, 11 Apr 2024 17:44:53 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=6addf2595e5ea95d7cc45233ca44c3faa09520b7

commit 6addf2595e5ea95d7cc45233ca44c3faa09520b7
Author:     Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2024-04-11 17:40:05 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-04-11 17:40:44 +0000

    inetd: Fix typos
    
    Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/882
---
 usr.sbin/inetd/builtins.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/usr.sbin/inetd/builtins.c b/usr.sbin/inetd/builtins.c
index aed304ae99c2..9609faf0b104 100644
--- a/usr.sbin/inetd/builtins.c
+++ b/usr.sbin/inetd/builtins.c
@@ -313,8 +313,8 @@ echo_stream(int s, struct servtab *sep)
 
 /* RFC 1413 says the following are the only errors you can return. */
 #define ID_INVALID	"INVALID-PORT"	/* Port number improperly specified. */
-#define ID_NOUSER	"NO-USER"	/* Port not in use/not identifable. */
-#define ID_HIDDEN	"HIDDEN-USER"	/* Hiden at user's request. */
+#define ID_NOUSER	"NO-USER"	/* Port not in use/not identifiable. */
+#define ID_HIDDEN	"HIDDEN-USER"	/* Hidden at user's request. */
 #define ID_UNKNOWN	"UNKNOWN-ERROR"	/* Everything else. */
 
 /* Generic ident_stream error-sending func */
@@ -405,7 +405,7 @@ ident_stream(int s, struct servtab *sep)
 				 * random number only when necessary.
 				 *
 				 * 32 bits from arc4random corresponds to
-				 * about 6 base-36 digits, so we reseed evey 6.
+				 * about 6 base-36 digits, so we reseed every 6.
 				 */
 				for (i = 0; i < sizeof(idbuf) - 1; i++) {
 					static const char *const base36 =