summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-05-17 23:21:37 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-05-17 23:21:37 +0000
commitbf33a035a2af416057b6a7ab212a76c1d1150c1a (patch)
treec1908e7cf894952a650d09db210e15d4ca55da4c /sys/arch/vax
parent5d8b9866e0b99be145d7a3e476c49c876682ea99 (diff)
One more mistake introduced in 1.65
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/vax/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/vax/pmap.c b/sys/arch/vax/vax/pmap.c
index 865588ef1f6..4112581cf2f 100644
--- a/sys/arch/vax/vax/pmap.c
+++ b/sys/arch/vax/vax/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.67 2014/05/17 21:32:19 miod Exp $ */
+/* $OpenBSD: pmap.c,v 1.68 2014/05/17 23:21:36 miod Exp $ */
/* $NetBSD: pmap.c,v 1.74 1999/11/13 21:32:25 matt Exp $ */
/*
* Copyright (c) 1994, 1998, 1999, 2003 Ludd, University of Lule}, Sweden.
@@ -654,7 +654,7 @@ pmap_rmproc(struct pmap *pm)
didswap++;
} else if (slpp->p_slptime > outpri) {
outpr = pr;
- outpri = p->p_slptime;
+ outpri = slpp->p_slptime;
}
}
next_process: ;