From 7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Sat, 20 May 2023 13:37:47 +0000 Subject: Fix all the remaining misspellings -- BZ 25337 --- inet/arpa/inet.h | 2 +- inet/idna_name_classify.c | 2 +- inet/netinet/igmp.h | 2 +- inet/rexec.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'inet') diff --git a/inet/arpa/inet.h b/inet/arpa/inet.h index 004f0a0565..dffb711137 100644 --- a/inet/arpa/inet.h +++ b/inet/arpa/inet.h @@ -78,7 +78,7 @@ extern char *inet_neta (in_addr_t __net, char *__buf, size_t __len) __THROW __attribute_deprecated_msg__ ("Use inet_ntop instead"); /* Convert network number for interface type AF in buffer starting at - CP to presentation format. The result will specifiy BITS bits of + CP to presentation format. The result will specify BITS bits of the number. */ extern char *inet_net_ntop (int __af, const void *__cp, int __bits, char *__buf, size_t __len) __THROW; diff --git a/inet/idna_name_classify.c b/inet/idna_name_classify.c index 8b34d89104..a48c72b2fc 100644 --- a/inet/idna_name_classify.c +++ b/inet/idna_name_classify.c @@ -40,7 +40,7 @@ __idna_name_classify (const char *name) break; else if (result == (size_t) -2) /* Incomplete trailing multi-byte character. This is an - encoding error becaue we received the full name. */ + encoding error because we received the full name. */ return idna_name_encoding_error; else if (result == (size_t) -1) { diff --git a/inet/netinet/igmp.h b/inet/netinet/igmp.h index e4d9928e3b..50141712fc 100644 --- a/inet/netinet/igmp.h +++ b/inet/netinet/igmp.h @@ -110,7 +110,7 @@ struct igmp { #define IGMP_v2_ROUTER 2 /* - * The following four defininitions are for backwards compatibility. + * The following four definitions are for backwards compatibility. * They should be removed as soon as all applications are updated to * use the new constant names. */ diff --git a/inet/rexec.c b/inet/rexec.c index 1985fa4418..d479753fc2 100644 --- a/inet/rexec.c +++ b/inet/rexec.c @@ -154,7 +154,7 @@ retry: struct iovec iov[3] = { [0] = { .iov_base = (void *) name, .iov_len = strlen (name) + 1 }, - /* should public key encypt the password here */ + /* should public key encrypt the password here */ [1] = { .iov_base = (void *) pass, .iov_len = strlen (pass) + 1 }, [2] = { .iov_base = (void *) cmd, .iov_len = strlen (cmd) + 1 } }; -- cgit 1.4.1