[PATCH][next] selftests/mm: Fix spelling mistake "priviledge" -> "privilege"

From: Colin Ian King
Date: Fri Apr 14 2023 - 04:15:18 EST


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

Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>
---
tools/testing/selftests/mm/uffd-common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/mm/uffd-common.c b/tools/testing/selftests/mm/uffd-common.c
index 61c6250adf93..54dfd92d86cf 100644
--- a/tools/testing/selftests/mm/uffd-common.c
+++ b/tools/testing/selftests/mm/uffd-common.c
@@ -311,7 +311,7 @@ int uffd_test_ctx_init(uint64_t features, const char **errmsg)
ret = userfaultfd_open(&features);
if (ret) {
if (errmsg)
- *errmsg = "possible lack of priviledge";
+ *errmsg = "possible lack of privilege";
return ret;
}

--
2.30.2