diff mbox series

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

Message ID 20230414081506.1678998-1-colin.i.king@gmail.com (mailing list archive)
State New
Headers show
Series [next] selftests/mm: Fix spelling mistake "priviledge" -> "privilege" | expand

Commit Message

Colin Ian King April 14, 2023, 8:15 a.m. UTC
There is a spelling mistake in an error message string. Fix it.

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

Patch

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;
 	}