There is a spelling mistake in an error message. Fix it.
Signed-off-by: Colin Ian King <[email protected]>
---
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
On Wed, Mar 27, 2024 at 7:06 AM Colin Ian King <[email protected]> wrote:
>
> There is a spelling mistake in an error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> 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 <[email protected]>
- Kyle