summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2020-01-21 03:06:40 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2020-01-21 03:06:40 +0000
commit97ae9d7cbce1f6f7139b44f02f39efdab26a33fa (patch)
tree4fadec905f21f7c79bb7055facd1e336953e5516 /sys
parent9de3e5ee66a3f90728d87b703d4dfd9a9c6e66c9 (diff)
Whitespace fixes. No code change.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/trap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/trap.c b/sys/arch/amd64/amd64/trap.c
index db1b279b328..2e4ea21bc79 100644
--- a/sys/arch/amd64/amd64/trap.c
+++ b/sys/arch/amd64/amd64/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.78 2020/01/09 15:18:58 bluhm Exp $ */
+/* $OpenBSD: trap.c,v 1.79 2020/01/21 03:06:39 mlarkin Exp $ */
/* $NetBSD: trap.c,v 1.2 2003/05/04 23:51:56 fvdl Exp $ */
/*-
@@ -196,7 +196,7 @@ pageflttrap(struct trapframe *frame, int usermode)
/*
* It is only a kernel address space fault iff:
- * 1. when running in ring0 and
+ * 1. when running in ring 0 and
* 2. pcb_onfault not set or
* 3. pcb_onfault set but supervisor space fault
* The last can occur during an exec() copyin where the
@@ -548,7 +548,7 @@ syscall(struct trapframe *frame)
args[3] = frame->tf_r10;
case 3:
args[2] = frame->tf_rdx;
- case 2:
+ case 2:
args[1] = frame->tf_rsi;
case 1:
args[0] = frame->tf_rdi;