about summary refs log tree commit diff
path: root/rt
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 /rt
parent5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (diff)
downloadglibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.gz
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.xz
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.zip
Fix all the remaining misspellings -- BZ 25337
Diffstat (limited to 'rt')
-rw-r--r--rt/aio.h2
-rw-r--r--rt/aio_cancel.c2
-rw-r--r--rt/aio_misc.c2
-rw-r--r--rt/timer_create.c2
-rw-r--r--rt/timer_gettime.c2
-rw-r--r--rt/tst-mqueue2.c4
-rw-r--r--rt/tst-mqueue3.c4
-rw-r--r--rt/tst-mqueue4.c2
-rw-r--r--rt/tst-mqueue5.c2
9 files changed, 11 insertions, 11 deletions
diff --git a/rt/aio.h b/rt/aio.h
index a9e6d7db29..8d014015a3 100644
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -168,7 +168,7 @@ extern int aio_suspend (const struct aiocb *const __list[], int __nent,
 			const struct timespec *__restrict __timeout)
   __nonnull ((1));
 
-/* Force all operations associated with file desriptor described by
+/* Force all operations associated with file descriptor described by
    `aio_fildes' member of AIOCBP.  */
 extern int aio_fsync (int __operation, struct aiocb *__aiocbp)
   __THROW __nonnull ((2));
diff --git a/rt/aio_cancel.c b/rt/aio_cancel.c
index 446b028213..6f275c6303 100644
--- a/rt/aio_cancel.c
+++ b/rt/aio_cancel.c
@@ -106,7 +106,7 @@ __aio_cancel (int fildes, struct aiocb *aiocbp)
   else
     {
       /* Find the beginning of the list of all requests for this
-	 desriptor.  */
+	 descriptor.  */
       req = __aio_find_req_fd (fildes);
 
       /* If any request is worked on by a thread it must be the first.
diff --git a/rt/aio_misc.c b/rt/aio_misc.c
index 4b850b1ab6..5d21943ff2 100644
--- a/rt/aio_misc.c
+++ b/rt/aio_misc.c
@@ -371,7 +371,7 @@ __aio_enqueue_request (aiocb_union *aiocbp, int operation)
       /* The current file descriptor is worked on.  It makes no sense
 	 to start another thread since this new thread would fight
 	 with the running thread for the resources.  But we also cannot
-	 say that the thread processing this desriptor shall immediately
+	 say that the thread processing this descriptor shall immediately
 	 after finishing the current job process this request if there
 	 are other threads in the running queue which have a higher
 	 priority.  */
diff --git a/rt/timer_create.c b/rt/timer_create.c
index a94bff693c..672bd14ef0 100644
--- a/rt/timer_create.c
+++ b/rt/timer_create.c
@@ -108,7 +108,7 @@ timer_create (clockid_t clock_id, struct sigevent *evp, timer_t *timerid)
       else
 	pthread_attr_init (&newtimer->attr);
 
-      /* Ensure thread attributes call for deatched thread.  */
+      /* Ensure thread attributes call for detached thread.  */
       pthread_attr_setdetachstate (&newtimer->attr, PTHREAD_CREATE_DETACHED);
 
       /* Try to find existing thread having the right attributes.  */
diff --git a/rt/timer_gettime.c b/rt/timer_gettime.c
index 474ae5e463..efc2a74ef7 100644
--- a/rt/timer_gettime.c
+++ b/rt/timer_gettime.c
@@ -22,7 +22,7 @@
 #include "posix-timer.h"
 
 
-/* Get current value of timer TIMERID and store it in VLAUE.  */
+/* Get current value of timer TIMERID and store it in VALUE.  */
 int
 timer_gettime (timer_t timerid, struct itimerspec *value)
 {
diff --git a/rt/tst-mqueue2.c b/rt/tst-mqueue2.c
index fc04470629..c029f3c156 100644
--- a/rt/tst-mqueue2.c
+++ b/rt/tst-mqueue2.c
@@ -463,12 +463,12 @@ do_test (void)
 
   if (mq_unlink ("/tst-mqueue2-which-should-never-exist") != -1)
     {
-      puts ("mq_unlink of non-existant message queue unexpectedly succeeded");
+      puts ("mq_unlink of non-existent message queue unexpectedly succeeded");
       result = 1;
     }
   else if (errno != ENOENT)
     {
-      printf ("mq_unlink of non-existant message queue did not fail with "
+      printf ("mq_unlink of non-existent message queue did not fail with "
 	      "ENOENT: %m\n");
       result = 1;
     }
diff --git a/rt/tst-mqueue3.c b/rt/tst-mqueue3.c
index 126bfa45a2..d8b1422b1c 100644
--- a/rt/tst-mqueue3.c
+++ b/rt/tst-mqueue3.c
@@ -61,13 +61,13 @@ fct (union sigval s)
   /* Check the values.  */
   if (attr.mq_maxmsg != MAXMSG)
     {
-      printf ("%s: mq_maxmsg wrong: is %jd, expecte %d\n",
+      printf ("%s: mq_maxmsg wrong: is %jd, expected %d\n",
 	      __FUNCTION__, (intmax_t) attr.mq_maxmsg, MAXMSG);
       exit (1);
     }
   if (attr.mq_msgsize != MAXMSG)
     {
-      printf ("%s: mq_msgsize wrong: is %jd, expecte %d\n",
+      printf ("%s: mq_msgsize wrong: is %jd, expected %d\n",
 	      __FUNCTION__, (intmax_t) attr.mq_msgsize, MSGSIZE);
       exit (1);
     }
diff --git a/rt/tst-mqueue4.c b/rt/tst-mqueue4.c
index 841ce14ac6..fe456287a3 100644
--- a/rt/tst-mqueue4.c
+++ b/rt/tst-mqueue4.c
@@ -62,7 +62,7 @@ do_test (void)
   mqd_t q2 = mq_open (name, O_CREAT | O_EXCL | O_RDWR, 0600, &attr);
   if (q2 == (mqd_t) -1)
     {
-      printf ("mq_open with NAME_MAX long name compoment failed with: %m\n");
+      printf ("mq_open with NAME_MAX long name component failed with: %m\n");
       result = 1;
     }
 
diff --git a/rt/tst-mqueue5.c b/rt/tst-mqueue5.c
index ea5ff65ae4..9416af28bd 100644
--- a/rt/tst-mqueue5.c
+++ b/rt/tst-mqueue5.c
@@ -522,7 +522,7 @@ do_child (const char *name, pthread_barrier_t *b2, pthread_barrier_t *b3,
       result = 1;
     }
 
-  /* Reenable test signals before cleaning up the thread.  */
+  /* Re-enable test signals before cleaning up the thread.  */
   if (pthread_sigmask (SIG_UNBLOCK, &set, NULL))
     {
       printf ("Failed to unblock SIGRTMIN in child: %m\n");