aboutsummaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-20 13:37:47 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2023-06-02 01:39:48 +0000
commit7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 (patch)
treee02ce0ba813f2cb4f20643988ec030292784cab6 /inet
parent5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (diff)
downloadglibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.zip
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.gz
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.bz2
Fix all the remaining misspellings -- BZ 25337
Diffstat (limited to 'inet')
-rw-r--r--inet/arpa/inet.h2
-rw-r--r--inet/idna_name_classify.c2
-rw-r--r--inet/netinet/igmp.h2
-rw-r--r--inet/rexec.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/inet/arpa/inet.h b/inet/arpa/inet.h
index 004f0a0..dffb711 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 8b34d89..a48c72b 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 e4d9928..5014171 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 1985fa4..d479753 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 }
};