From 1491b217d9dbaa5204f6b53c1c71c7c5ffbf64b7 Mon Sep 17 00:00:00 2001 From: andvar Date: Sun, 22 Aug 2021 20:18:39 +0000 Subject: s/priviledge/privilege/ in comments/log messages and fix one typo in descriptor. --- tests/lib/libc/sys/t_lwp_create.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/lib/libc/sys') 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 -- cgit