[PATCH] selftests/powerpc: Fix spelling mistake "mmaping" -> "mmapping"

Colin Ian King colin.i.king at gmail.com
Fri Oct 21 19:45:45 AEDT 2022


There is a spelling mistake in a perror message. Fix it.

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

diff --git a/tools/testing/selftests/powerpc/ptrace/core-pkey.c b/tools/testing/selftests/powerpc/ptrace/core-pkey.c
index bbc05ffc5860..1a70a96f0bfe 100644
--- a/tools/testing/selftests/powerpc/ptrace/core-pkey.c
+++ b/tools/testing/selftests/powerpc/ptrace/core-pkey.c
@@ -329,7 +329,7 @@ static int parent(struct shared_info *info, pid_t pid)
 
 	core = mmap(NULL, core_size, PROT_READ, MAP_PRIVATE, fd, 0);
 	if (core == (void *) -1) {
-		perror("Error mmaping core file");
+		perror("Error mmapping core file");
 		ret = TEST_FAIL;
 		goto out;
 	}
-- 
2.37.3



More information about the Linuxppc-dev mailing list