From bf33a035a2af416057b6a7ab212a76c1d1150c1a Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 17 May 2014 23:21:37 +0000 Subject: One more mistake introduced in 1.65 --- sys/arch/vax/vax/pmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/vax') 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: ; -- cgit v1.2.3