aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Gray <[email protected]>2023-07-25 10:58:40 +1000
committerMichael Ellerman <[email protected]>2023-08-02 22:22:19 +1000
commitfc6732a8556c1099b89f4777a96bd6a1ae5a4378 (patch)
treea4020ce838ac9553007672feda30e787c19da942
parent68877ff20a7f4f773069784cfe4f6fe9c7b9a841 (diff)
selftests/powerpc/ptrace: Fix typo in pid_max search error
pid_max_addr() searches for the 'pid_max' symbol in /proc/kallsyms, and prints an error if it cannot find it. The error message has a typo, calling it pix_max. Signed-off-by: Benjamin Gray <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
-rw-r--r--tools/testing/selftests/powerpc/ptrace/ptrace-perf-hwbreak.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/ptrace/ptrace-perf-hwbreak.c b/tools/testing/selftests/powerpc/ptrace/ptrace-perf-hwbreak.c
index 16c653600124..d8a9e95fc03d 100644
--- a/tools/testing/selftests/powerpc/ptrace/ptrace-perf-hwbreak.c
+++ b/tools/testing/selftests/powerpc/ptrace/ptrace-perf-hwbreak.c
@@ -46,7 +46,7 @@ static unsigned long pid_max_addr(void)
return strtoul(addr, &c, 16);
}
fclose(fp);
- printf("Could not find pix_max. Exiting..\n");
+ printf("Could not find pid_max. Exiting..\n");
exit(EXIT_FAILURE);
return -1;
}