summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2005-08-06 09:53:36 +0000
committermiod <miod@openbsd.org>2005-08-06 09:53:36 +0000
commite6eeb67ddc917628075a11dd6d78c61abef94abe (patch)
tree79ff3393f3dcdbbb014cae2df45af337090f2140
parentnew manpage for ifstated.conf written with mpf@ (diff)
downloadwireguard-openbsd-e6eeb67ddc917628075a11dd6d78c61abef94abe.tar.xz
wireguard-openbsd-e6eeb67ddc917628075a11dd6d78c61abef94abe.zip
In cache_flush(), after testing for curproc != NULL, do not use curproc
blindly...
-rw-r--r--sys/arch/m88k/m88k/trap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/m88k/m88k/trap.c b/sys/arch/m88k/m88k/trap.c
index bf5316de288..15428bb1d92 100644
--- a/sys/arch/m88k/m88k/trap.c
+++ b/sys/arch/m88k/m88k/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.18 2005/05/18 16:44:41 miod Exp $ */
+/* $OpenBSD: trap.c,v 1.19 2005/08/06 09:53:36 miod Exp $ */
/*
* Copyright (c) 2004, Miodrag Vallat.
* Copyright (c) 1998 Steve Murphree, Jr.
@@ -1831,7 +1831,6 @@ cache_flush(struct trapframe *tf)
if ((p = curproc) == NULL)
p = &proc0;
- p = curproc;
sticks = p->p_sticks;
p->p_md.md_tf = tf;