From 83343956974d6167fb1ab17bf165f4afceb7db8c Mon Sep 17 00:00:00 2001 From: miod Date: Sat, 17 May 2014 23:21:36 +0000 Subject: [PATCH] One more mistake introduced in 1.65 --- sys/arch/vax/vax/pmap.c | 4 ++-- 1 file 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: ; -- 2.20.1