Skip to contentSkip to conversation

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

PATCH In review Colin Ian King 2 participants 2 messages Mar 27, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/perf_events: Fix spelling mistake "sycnhronize" -> "synchronize"

There is a spelling mistake in an error message. Fix it.

---
 tools/testing/selftests/perf_events/watermark_signal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/perf_events/watermark_signal.c +1 -1
index 49dc1e831174..e03fe1b9bba2 100644
@@ -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;
Signature · 1 line
2.39.2
Acked-by on v1 1/1
#1 lore raw
Quoted 22 lines · Colin Ian King

There is a spelling mistake in an error message. Fix it.

---
 tools/testing/selftests/perf_events/watermark_signal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/perf_events/watermark_signal.c +1 -2
index 49dc1e831174..e03fe1b9bba2 100644
@@ -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;
--
Quoted 2 lines

2.39.2

Nice catch.

- Kyle