linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH rt-tests] cyclictest: fix typos
@ 2019-11-17 21:40 Uwe Kleine-König
  2019-11-18 19:24 ` John Kacur
  2019-11-18 19:26 ` John Kacur
  0 siblings, 2 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2019-11-17 21:40 UTC (permalink / raw)
  To: Clark Williams, John Kacur; +Cc: linux-rt-users

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.
---
 src/cyclictest/cyclictest.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index 6be0525822ca..bca028fedffd 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -802,7 +802,7 @@ static void *timerthread(void *param)
 		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;
 		}
@@ -964,7 +964,7 @@ static void display_help(int error)
 	       "			   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"
-- 
2.24.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH rt-tests] cyclictest: fix typos
  2019-11-17 21:40 [PATCH rt-tests] cyclictest: fix typos Uwe Kleine-König
@ 2019-11-18 19:24 ` John Kacur
  2019-11-18 19:26 ` John Kacur
  1 sibling, 0 replies; 3+ messages in thread
From: John Kacur @ 2019-11-18 19:24 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: Clark Williams, linux-rt-users

[-- Attachment #1: Type: text/plain, Size: 1494 bytes --]



On Sun, 17 Nov 2019, Uwe Kleine-König wrote:

> 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.
> ---
>  src/cyclictest/cyclictest.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
> index 6be0525822ca..bca028fedffd 100644
> --- a/src/cyclictest/cyclictest.c
> +++ b/src/cyclictest/cyclictest.c
> @@ -802,7 +802,7 @@ static void *timerthread(void *param)
>  		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;
>  		}
> @@ -964,7 +964,7 @@ static void display_help(int error)
>  	       "			   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"
> -- 
> 2.24.0
> 
> 

Signed-off-by: John Kacur@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH rt-tests] cyclictest: fix typos
  2019-11-17 21:40 [PATCH rt-tests] cyclictest: fix typos Uwe Kleine-König
  2019-11-18 19:24 ` John Kacur
@ 2019-11-18 19:26 ` John Kacur
  1 sibling, 0 replies; 3+ messages in thread
From: John Kacur @ 2019-11-18 19:26 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: Clark Williams, linux-rt-users

[-- Attachment #1: Type: text/plain, Size: 1503 bytes --]



On Sun, 17 Nov 2019, Uwe Kleine-König wrote:

> 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.
> ---
>  src/cyclictest/cyclictest.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
> index 6be0525822ca..bca028fedffd 100644
> --- a/src/cyclictest/cyclictest.c
> +++ b/src/cyclictest/cyclictest.c
> @@ -802,7 +802,7 @@ static void *timerthread(void *param)
>  		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;
>  		}
> @@ -964,7 +964,7 @@ static void display_help(int error)
>  	       "			   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"
> -- 
> 2.24.0
> 
> 

Signed-off-by: John Kacur <jkacur@redhat.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-18 19:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-17 21:40 [PATCH rt-tests] cyclictest: fix typos Uwe Kleine-König
2019-11-18 19:24 ` John Kacur
2019-11-18 19:26 ` John Kacur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).