summaryrefslogtreecommitdiff
path: root/tests/lib/libc/sys
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2021-08-22 20:18:39 +0000
committerandvar <andvar@NetBSD.org>2021-08-22 20:18:39 +0000
commit1491b217d9dbaa5204f6b53c1c71c7c5ffbf64b7 (patch)
treefe1ca52edebd40f1b2a3486a60bf26e0604808e7 /tests/lib/libc/sys
parentd2263cff597c0510c8a7c56937aa7c534dee9f37 (diff)
s/priviledge/privilege/ in comments/log messages and fix one typo in descriptor.
Diffstat (limited to 'tests/lib/libc/sys')
-rw-r--r--tests/lib/libc/sys/t_lwp_create.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/libc/sys/t_lwp_create.c b/tests/lib/libc/sys/t_lwp_create.c
index fa00fa764ea..ae91a94625d 100644
--- a/tests/lib/libc/sys/t_lwp_create.c
+++ b/tests/lib/libc/sys/t_lwp_create.c
@@ -1,4 +1,4 @@
-/* $NetBSD: t_lwp_create.c,v 1.3 2020/06/06 18:11:21 thorpej Exp $ */
+/* $NetBSD: t_lwp_create.c,v 1.4 2021/08/22 20:18:39 andvar Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -185,7 +185,7 @@ INVALID_UCONTEXT(hppa, invalid_0, "clear illegal bits in psw")
INVALID_UCONTEXT(i386, untouchable_eflags, "changing forbidden eflags")
uc->uc_mcontext.__gregs[_REG_EFL] |= PSL_IOPL;
}
-INVALID_UCONTEXT(i386, priv_escalation, "modifying priviledge level")
+INVALID_UCONTEXT(i386, priv_escalation, "modifying privilege level")
uc->uc_mcontext.__gregs[_REG_CS] &= ~SEL_RPL;
}
#endif