summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2022-10-23 23:39:42 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2022-10-23 23:39:42 +0000
commit946e46b6c2f1c41722f9f8f6fa5c11774fc328e2 (patch)
treeb8666e16598a3c7b0185e5c848631b410e8ef467 /sys/arch/sparc64
parentfa2bec0c4d23320eb8fc6fa3a689833dbdba7592 (diff)
Fix a misleading comment
ok miod@ kettenis@
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/sparc64/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c
index 3fa44e8b97b..86dd016421f 100644
--- a/sys/arch/sparc64/sparc64/machdep.c
+++ b/sys/arch/sparc64/sparc64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.202 2022/10/21 18:55:42 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.203 2022/10/23 23:39:41 guenther Exp $ */
/* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */
/*-
@@ -279,7 +279,7 @@ setregs(struct proc *p, struct exec_package *pack, vaddr_t stack,
/* The cookie needs to guarantee invalid alignment after the XOR. */
switch (p->p_addr->u_pcb.pcb_wcookie % 3) {
- case 0: /* Two lsb's already both set except if the cookie is 0. */
+ case 0: /* Set two lsbs. */
p->p_addr->u_pcb.pcb_wcookie |= 0x3;
break;
case 1: /* Set the lsb. */