diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2023-05-20 13:37:47 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2023-06-02 01:39:48 +0000 |
commit | 7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 (patch) | |
tree | e02ce0ba813f2cb4f20643988ec030292784cab6 /nss | |
parent | 5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (diff) | |
download | glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.zip glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.gz glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.bz2 |
Fix all the remaining misspellings -- BZ 25337
Diffstat (limited to 'nss')
-rw-r--r-- | nss/nss_compat/compat-grp.c | 2 | ||||
-rw-r--r-- | nss/nss_compat/compat-pwd.c | 2 | ||||
-rw-r--r-- | nss/nss_compat/compat-spwd.c | 2 | ||||
-rw-r--r-- | nss/nss_database.c | 2 | ||||
-rw-r--r-- | nss/nss_db/db-open.c | 2 | ||||
-rw-r--r-- | nss/nss_db/nss_db.h | 2 | ||||
-rw-r--r-- | nss/nss_files/files-network.c | 2 | ||||
-rw-r--r-- | nss/nss_parse_line_result.c | 2 | ||||
-rw-r--r-- | nss/nsswitch.conf | 2 | ||||
-rw-r--r-- | nss/test-netdb.c | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/nss/nss_compat/compat-grp.c b/nss/nss_compat/compat-grp.c index 5d8a768..92d099e 100644 --- a/nss/nss_compat/compat-grp.c +++ b/nss/nss_compat/compat-grp.c @@ -213,7 +213,7 @@ getgrent_next_nss (struct group *result, ent_t *ent, char *buffer, return NSS_STATUS_SUCCESS; } -/* This function handle the +group entrys in /etc/group */ +/* This function handle the +group entries in /etc/group */ static enum nss_status getgrnam_plusgroup (const char *name, struct group *result, ent_t *ent, char *buffer, size_t buflen, int *errnop) diff --git a/nss/nss_compat/compat-pwd.c b/nss/nss_compat/compat-pwd.c index 5e07274..f9ad940 100644 --- a/nss/nss_compat/compat-pwd.c +++ b/nss/nss_compat/compat-pwd.c @@ -437,7 +437,7 @@ getpwent_next_nss (struct passwd *result, ent_t *ent, char *buffer, return NSS_STATUS_SUCCESS; } -/* This function handle the +user entrys in /etc/passwd */ +/* This function handle the +user entries in /etc/passwd */ static enum nss_status getpwnam_plususer (const char *name, struct passwd *result, ent_t *ent, char *buffer, size_t buflen, int *errnop) diff --git a/nss/nss_compat/compat-spwd.c b/nss/nss_compat/compat-spwd.c index 44220ad..c3ce41b 100644 --- a/nss/nss_compat/compat-spwd.c +++ b/nss/nss_compat/compat-spwd.c @@ -387,7 +387,7 @@ getspent_next_nss (struct spwd *result, ent_t *ent, } -/* This function handle the +user entrys in /etc/shadow */ +/* This function handle the +user entries in /etc/shadow */ static enum nss_status getspnam_plususer (const char *name, struct spwd *result, ent_t *ent, char *buffer, size_t buflen, int *errnop) diff --git a/nss/nss_database.c b/nss/nss_database.c index 2edcab4..128b73a 100644 --- a/nss/nss_database.c +++ b/nss/nss_database.c @@ -331,7 +331,7 @@ nss_database_reload (struct nss_database_data *staging, if (fp != NULL) ok = nss_database_reload_1 (staging, fp); - /* Now we have non-NULL entries where the user explictly listed the + /* Now we have non-NULL entries where the user explicitly listed the service in nsswitch.conf. */ /* Apply defaults. */ diff --git a/nss/nss_db/db-open.c b/nss/nss_db/db-open.c index 1367060..a5279dc 100644 --- a/nss/nss_db/db-open.c +++ b/nss/nss_db/db-open.c @@ -27,7 +27,7 @@ #include "nss_db.h" -/* Open the database stored in FILE. If succesful, store either a +/* Open the database stored in FILE. If successful, store either a pointer to the mapped file or a file handle for the file in H and return NSS_STATUS_SUCCESS. On failure, return the appropriate lookup status. */ diff --git a/nss/nss_db/nss_db.h b/nss/nss_db/nss_db.h index 6e77b4c..a408b89 100644 --- a/nss/nss_db/nss_db.h +++ b/nss/nss_db/nss_db.h @@ -57,7 +57,7 @@ struct nss_db_map }; -/* Open the database stored in FILE. If succesful, store the database +/* Open the database stored in FILE. If successful, store the database handle in *MAPPINGP or a file descriptor for the file in *FDP and return NSS_STATUS_SUCCESS. On failure, return the appropriate lookup status. */ diff --git a/nss/nss_files/files-network.c b/nss/nss_files/files-network.c index 4b1ab05..c010d21 100644 --- a/nss/nss_files/files-network.c +++ b/nss/nss_files/files-network.c @@ -42,7 +42,7 @@ LINE_PARSER STRING_FIELD (addr, isspace, 1); /* 'inet_network' does not add zeroes at the end if the network number - does not four byte values. We add them outselves if necessary. */ + does not four byte values. We add them ourselves if necessary. */ cp = strchr (addr, '.'); if (cp != NULL) { diff --git a/nss/nss_parse_line_result.c b/nss/nss_parse_line_result.c index 1d257af..8f99171 100644 --- a/nss/nss_parse_line_result.c +++ b/nss/nss_parse_line_result.c @@ -29,7 +29,7 @@ __nss_parse_line_result (FILE *fp, off64_t offset, int parse_line_result) switch (__builtin_expect (parse_line_result, 1)) { case 1: - /* Sucess. */ + /* Success. */ return 0; case 0: /* Parse error. */ diff --git a/nss/nsswitch.conf b/nss/nsswitch.conf index 40030d1..07c3476 100644 --- a/nss/nsswitch.conf +++ b/nss/nsswitch.conf @@ -50,7 +50,7 @@ # shadow: db files # group: db files -# In alphabetical order. Re-order as required to optimize peformance. +# In alphabetical order. Re-order as required to optimize performance. aliases: files ethers: files group: files diff --git a/nss/test-netdb.c b/nss/test-netdb.c index e835ba6..d76eea4 100644 --- a/nss/test-netdb.c +++ b/nss/test-netdb.c @@ -157,7 +157,7 @@ test_hosts (void) } else if (strcmp (hptr1->h_name, hptr2->h_name) != 0) { - printf ("localhost and LocalHost have different canoncial name\n"); + printf ("localhost and LocalHost have different canonical name\n"); printf ("gethostbyname (\"localhost\")->%s\n", hptr1->h_name); printf ("gethostbyname (\"LocalHost\")->%s\n", hptr2->h_name); ++error_count; |