summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-10-08 23:12:32 +0200
committerJohn Kacur <jkacur@redhat.com>2015-10-09 09:27:31 +0200
commitcfb349961787e4b577829d62226401eeb4704424 (patch)
tree9d6580e14dbd0cb910c5783208e749b8ceed2f38
parenta43126d192b81996bbada485112936985919b430 (diff)
downloadrt-tests-cfb349961787e4b577829d62226401eeb4704424.tar.gz
Fix some trivial typos found by codespell(1)
Inheritence ==> Inheritance occured ==> occurred surpress ==> suppress Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r--src/pi_tests/classic_pi.c2
-rw-r--r--src/pi_tests/pi_stress.c4
-rw-r--r--src/pi_tests/pip_stress.c2
-rw-r--r--src/pi_tests/tst-mutexpi10.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/pi_tests/classic_pi.c b/src/pi_tests/classic_pi.c
index 59e907b..695ee4c 100644
--- a/src/pi_tests/classic_pi.c
+++ b/src/pi_tests/classic_pi.c
@@ -18,7 +18,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA */
-/* This program tests Priority Inheritence mutexes and their ability
+/* This program tests Priority Inheritance mutexes and their ability
to avoid Priority Inversion deadlocks
The basic premise here is to set up a deadlock scenario and confirm that PI
diff --git a/src/pi_tests/pi_stress.c b/src/pi_tests/pi_stress.c
index a4e6e3d..a02f706 100644
--- a/src/pi_tests/pi_stress.c
+++ b/src/pi_tests/pi_stress.c
@@ -132,7 +132,7 @@ unsigned long report_interval = (unsigned long)SEC_TO_USEC(0.75);
int shutdown = 0; /* global indicating we should shut down */
pthread_mutex_t shutdown_mtx; /* associated mutex */
-/* indicate if errors have occured */
+/* indicate if errors have occurred */
int have_errors = 0;
/* indicated that keyboard interrupt has happened */
@@ -1025,7 +1025,7 @@ void usage(void)
printf("usage: pi_stress <options>\n");
printf(" options:\n");
printf("\t--verbose\t- lots of output\n");
- printf("\t--quiet\t\t- surpress running output\n");
+ printf("\t--quiet\t\t- suppress running output\n");
printf
("\t--duration=<n>- length of the test run in seconds [infinite]\n");
printf("\t--groups=<n>\t- set the number of inversion groups [%d]\n",
diff --git a/src/pi_tests/pip_stress.c b/src/pi_tests/pip_stress.c
index 812a703..a0477cc 100644
--- a/src/pi_tests/pip_stress.c
+++ b/src/pi_tests/pip_stress.c
@@ -64,7 +64,7 @@ useconds_t usleep_val = 500;
pthread_mutex_t *resource;
-/* This records the state to determine whether a priority inversion occured */
+/* This records the state to determine whether a priority inversion occurred */
struct State {
int low_owns_resource;
int high_started;
diff --git a/src/pi_tests/tst-mutexpi10.c b/src/pi_tests/tst-mutexpi10.c
index 0244b4a..a63ea23 100644
--- a/src/pi_tests/tst-mutexpi10.c
+++ b/src/pi_tests/tst-mutexpi10.c
@@ -21,7 +21,7 @@
Boston, MA 02111-1307, USA. */
-/* This program tests Priority Inheritence mutexes and their ability
+/* This program tests Priority Inheritance mutexes and their ability
to avoid Priority Inversion deadlocks
The basic premise here is to set up a deadlock scenario and confirm that PI