diff options
Diffstat (limited to 'rt')
-rw-r--r-- | rt/aio.h | 2 | ||||
-rw-r--r-- | rt/aio_cancel.c | 2 | ||||
-rw-r--r-- | rt/aio_misc.c | 2 | ||||
-rw-r--r-- | rt/timer_create.c | 2 | ||||
-rw-r--r-- | rt/timer_gettime.c | 2 | ||||
-rw-r--r-- | rt/tst-mqueue2.c | 4 | ||||
-rw-r--r-- | rt/tst-mqueue3.c | 4 | ||||
-rw-r--r-- | rt/tst-mqueue4.c | 2 | ||||
-rw-r--r-- | rt/tst-mqueue5.c | 2 |
9 files changed, 11 insertions, 11 deletions
@@ -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 446b028..6f275c6 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 4b850b1a..5d21943 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 a94bff6..672bd14 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 474ae5e..efc2a74 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 fc04470..c029f3c 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 126bfa4..d8b1422 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 841ce14..fe45628 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 ea5ff65..9416af2 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"); |