summaryrefslogtreecommitdiffstats
path: root/debian/patches/cyclictest-fix-typos.patch
blob: 8ebb33ca6c130acf9eed321b1bcfa092252c584c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= <ukleinek@debian.org>
Date: Sun, 17 Nov 2019 22:40:38 +0100
Subject: [PATCH rt-tests] cyclictest: fix typos

The called function is called clock_gettime with "only" two t as can be
seen tree lines above. Also there was a wrong r in useful.

Signed-off-by: John Kacur <jkacur@redhat.com>
Origin: upstream, commit:ab2ea3fd06df5361e3ae0bb00366c30f30073fb0
---
 src/cyclictest/cyclictest.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -798,7 +798,7 @@
 		ret = clock_gettime(par->clock, &now);
 		if (ret != 0) {
 			if (ret != EINTR)
-				warn("clock_getttime() failed. errno: %d\n",
+				warn("clock_gettime() failed. errno: %d\n",
 				     errno);
 			goto out;
 		}
@@ -960,7 +960,7 @@
 	       "			   but will not drain your battery so quickly\n"
 	       "-m       --mlockall        lock current and future memory allocations\n"
 	       "-M       --refresh_on_max  delay updating the screen until a new max\n"
-	       "			   latency is hit. Userful for low bandwidth.\n"
+	       "			   latency is hit. Useful for low bandwidth.\n"
 	       "-N       --nsecs           print results in ns instead of us (default us)\n"
 	       "-o RED   --oscope=RED      oscilloscope mode, reduce verbose output by RED\n"
 	       "-p PRIO  --priority=PRIO   priority of highest prio thread\n"