summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
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: ;