From 151c9ef6abf06bff7e53f0456e0c6317a4ace90f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Sun, 17 Nov 2019 22:40:38 +0100 Subject: [PATCH] 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 --- 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 6be0525..bca028f 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"