[PATCH][next] selftests/futex: Fix help test for option -g

Colin Ian King posted 1 patch 4 months, 1 week ago
tools/testing/selftests/futex/functional/futex_priv_hash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH][next] selftests/futex: Fix help test for option -g
Posted by Colin Ian King 4 months, 1 week ago
Currently the help text for the -g option contains a spelling
mistake, a space before a \n and is a little hard to comprehend.
Fix it.

Fixes: cda95faef7bc ("selftests/futex: Add futex_priv_hash")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 tools/testing/selftests/futex/functional/futex_priv_hash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/futex/functional/futex_priv_hash.c b/tools/testing/selftests/futex/functional/futex_priv_hash.c
index aea001ac4946..93c636d6bf80 100644
--- a/tools/testing/selftests/futex/functional/futex_priv_hash.c
+++ b/tools/testing/selftests/futex/functional/futex_priv_hash.c
@@ -132,7 +132,7 @@ static void usage(char *prog)
 {
 	printf("Usage: %s\n", prog);
 	printf("  -c    Use color\n");
-	printf("  -g    Test global hash instead intead local immutable \n");
+	printf("  -g    Test global hash instead of private hash\n");
 	printf("  -h    Display this help message\n");
 	printf("  -v L  Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n",
 	       VQUIET, VCRITICAL, VINFO);
-- 
2.50.1
Re: [PATCH][next] selftests/futex: Fix help test for option -g
Posted by Sebastian Andrzej Siewior 3 months, 3 weeks ago
On 2025-08-08 12:24:58 [+0100], Colin Ian King wrote:
> Currently the help text for the -g option contains a spelling
> mistake, a space before a \n and is a little hard to comprehend.
> Fix it.
> 
> Fixes: cda95faef7bc ("selftests/futex: Add futex_priv_hash")
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Sebastian