diff mbox series

[next] selftests/perf_events: Fix spelling mistake "sycnhronize" -> "synchronize"

Message ID 20240327110649.283925-1-colin.i.king@gmail.com (mailing list archive)
State New
Headers show
Series [next] selftests/perf_events: Fix spelling mistake "sycnhronize" -> "synchronize" | expand

Commit Message

Colin Ian King March 27, 2024, 11:06 a.m. UTC
There is a spelling mistake in an error message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 tools/testing/selftests/perf_events/watermark_signal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kyle Huey March 27, 2024, 11:36 a.m. UTC | #1
On Wed, Mar 27, 2024 at 7:06 AM Colin Ian King <colin.i.king@gmail.com> wrote:
>
> There is a spelling mistake in an error message. Fix it.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  tools/testing/selftests/perf_events/watermark_signal.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/perf_events/watermark_signal.c b/tools/testing/selftests/perf_events/watermark_signal.c
> index 49dc1e831174..e03fe1b9bba2 100644
> --- a/tools/testing/selftests/perf_events/watermark_signal.c
> +++ b/tools/testing/selftests/perf_events/watermark_signal.c
> @@ -75,7 +75,7 @@ TEST(watermark_signal)
>         if (waitpid(child, &child_status, WSTOPPED) != child ||
>             !(WIFSTOPPED(child_status) && WSTOPSIG(child_status) == SIGSTOP)) {
>                 fprintf(stderr,
> -                       "failed to sycnhronize with child errno=%d status=%x\n",
> +                       "failed to synchronize with child errno=%d status=%x\n",
>                         errno,
>                         child_status);
>                 goto cleanup;
> --
> 2.39.2
>

Nice catch.

Acked-by: Kyle Huey <khuey@kylehuey.com>

- Kyle
diff mbox series

Patch

diff --git a/tools/testing/selftests/perf_events/watermark_signal.c b/tools/testing/selftests/perf_events/watermark_signal.c
index 49dc1e831174..e03fe1b9bba2 100644
--- a/tools/testing/selftests/perf_events/watermark_signal.c
+++ b/tools/testing/selftests/perf_events/watermark_signal.c
@@ -75,7 +75,7 @@  TEST(watermark_signal)
 	if (waitpid(child, &child_status, WSTOPPED) != child ||
 	    !(WIFSTOPPED(child_status) && WSTOPSIG(child_status) == SIGSTOP)) {
 		fprintf(stderr,
-			"failed to sycnhronize with child errno=%d status=%x\n",
+			"failed to synchronize with child errno=%d status=%x\n",
 			errno,
 			child_status);
 		goto cleanup;