]> git.baikalelectronics.ru Git - kernel.git/commitdiff
selftests/net: so_txtime: usage(): fix documentation of default clock
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 2 May 2022 09:46:38 +0000 (11:46 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 3 May 2022 11:18:26 +0000 (13:18 +0200)
The program uses CLOCK_TAI as default clock since it was added to the
Linux repo. In commit:
2c234ba69cdd ("selftests/net: so_txtime multi-host support")
a help text stating the wrong default clock was added.

This patch fixes the help text.

Fixes: 2c234ba69cdd ("selftests/net: so_txtime multi-host support")
Cc: Carlos Llamas <cmllamas@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20220502094638.1921702-3-mkl@pengutronix.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/net/so_txtime.c

index 103f6bf28e35580b510061f174cd050624532091..2672ac0b6d1f38c6112cee59da859b9a259ef165 100644 (file)
@@ -421,7 +421,7 @@ static void usage(const char *progname)
                        "Options:\n"
                        "  -4            only IPv4\n"
                        "  -6            only IPv6\n"
-                       "  -c <clock>    monotonic (default) or tai\n"
+                       "  -c <clock>    monotonic or tai (default)\n"
                        "  -D <addr>     destination IP address (server)\n"
                        "  -S <addr>     source IP address (client)\n"
                        "  -r            run rx mode\n"