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 /misc | |
parent | 5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (diff) | |
download | glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.gz glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.bz2 glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.zip |
Fix all the remaining misspellings -- BZ 25337
Diffstat (limited to 'misc')
-rw-r--r-- | misc/hsearch_r.c | 2 | ||||
-rw-r--r-- | misc/preadv64v2.c | 2 | ||||
-rw-r--r-- | misc/pwritev64v2.c | 2 | ||||
-rw-r--r-- | misc/search.h | 2 | ||||
-rw-r--r-- | misc/tst-efgcvt-template.c | 4 | ||||
-rw-r--r-- | misc/tst-mntent-blank-corrupt.c | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/misc/hsearch_r.c b/misc/hsearch_r.c index 05085d3eb5..35b4328ae7 100644 --- a/misc/hsearch_r.c +++ b/misc/hsearch_r.c @@ -160,7 +160,7 @@ __hsearch_r (ENTRY item, ACTION action, ENTRY **retval, if (hval == 0) ++hval; - /* First hash function: simply take the modul but prevent zero. */ + /* First hash function: simply take the modulo but prevent zero. */ idx = hval % htab->size + 1; if (htab->table[idx].used) diff --git a/misc/preadv64v2.c b/misc/preadv64v2.c index 3d838d97cc..4570b13524 100644 --- a/misc/preadv64v2.c +++ b/misc/preadv64v2.c @@ -19,7 +19,7 @@ #include <errno.h> #include <sys/uio.h> -/* Same as preadv64 but with an addional flag argument. */ +/* Same as preadv64 but with an additional flag argument. */ ssize_t preadv64v2 (int fd, const struct iovec *vector, int count, off64_t offset, int flags) diff --git a/misc/pwritev64v2.c b/misc/pwritev64v2.c index 7f7c70816e..0be19d7b4d 100644 --- a/misc/pwritev64v2.c +++ b/misc/pwritev64v2.c @@ -19,7 +19,7 @@ #include <errno.h> #include <sys/uio.h> -/* Same as preadv64 but with an addional flag argument. */ +/* Same as preadv64 but with an additional flag argument. */ ssize_t pwritev64v2 (int fd, const struct iovec *vector, int count, off64_t offset, int flags) diff --git a/misc/search.h b/misc/search.h index 0ca868e12a..30191d40cc 100644 --- a/misc/search.h +++ b/misc/search.h @@ -78,7 +78,7 @@ struct _ENTRY; /* Family of hash table handling functions. The functions also have reentrant counterparts ending with _r. The non-reentrant - functions all work on a signle internal hashing table. */ + functions all work on a single internal hashing table. */ /* Search for entry matching ITEM.key in internal hash table. If ACTION is `FIND' return found entry or signal error by returning diff --git a/misc/tst-efgcvt-template.c b/misc/tst-efgcvt-template.c index 87e3ebe4fa..cc1a226237 100644 --- a/misc/tst-efgcvt-template.c +++ b/misc/tst-efgcvt-template.c @@ -208,13 +208,13 @@ special (void) res = ECVT_R (123.456, 10, &decpt, &sign, buf, 1); if (res == 0) { - printf (NAME (ECVT_R) " with a too small buffer was succesful.\n"); + printf (NAME (ECVT_R) " with a too small buffer was successful.\n"); support_record_failure (); } res = FCVT_R (123.456, 10, &decpt, &sign, buf, 1); if (res == 0) { - printf (NAME (FCVT_R) " with a too small buffer was succesful.\n"); + printf (NAME (FCVT_R) " with a too small buffer was successful.\n"); support_record_failure (); } } diff --git a/misc/tst-mntent-blank-corrupt.c b/misc/tst-mntent-blank-corrupt.c index 5cde4ced47..ef7fe03a6d 100644 --- a/misc/tst-mntent-blank-corrupt.c +++ b/misc/tst-mntent-blank-corrupt.c @@ -34,7 +34,7 @@ do_test (void) /* The corruption happens here ... */ getmntent (fp); - /* ... but trigers here. */ + /* ... but triggers here. */ endmntent (fp); /* If the test failed, we would crash, and not hit this point. */ |