From be99ebd656a6805fbe4d5de8136b5e5a19cf0b3c Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin (Intel)" Date: Thu, 13 Dec 2018 22:12:37 -0800 Subject: [PATCH] assemble.c: capitalize LOCK prefix LOCK is a keyword and not a descriptive term here, capitalize it. Signed-off-by: H. Peter Anvin (Intel) --- asm/assemble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asm/assemble.c b/asm/assemble.c index 03335eb3..01f4d1bc 100644 --- a/asm/assemble.c +++ b/asm/assemble.c @@ -1418,7 +1418,7 @@ static int64_t calcsize(int32_t segment, int64_t offset, int bits, if (has_prefix(ins, PPS_LOCK, P_LOCK) && lockcheck && (!itemp_has(temp,IF_LOCK) || !is_class(MEMORY, ins->oprs[0].type))) { /*! - *!lock [on] lock prefix on unlockable instructions + *!lock [on] LOCK prefix on unlockable instructions *! warns about \c{LOCK} prefixes on unlockable instructions. */ nasm_warnf(WARN_LOCK | ERR_PASS2 , "instruction is not lockable");