From 190470e4ae678a60f1533d5c77cf25b48ee6b8f8 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Tue, 3 Apr 2001 20:25:36 +0000 Subject: Fix a vm_pmap in a debug printf. --- sys/arch/pmax/pmax/trap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/pmax/pmax/trap.c b/sys/arch/pmax/pmax/trap.c index f28c2f16ec2..1a5cba2b292 100644 --- a/sys/arch/pmax/pmax/trap.c +++ b/sys/arch/pmax/pmax/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.22 2000/11/10 18:15:41 art Exp $ */ +/* $OpenBSD: trap.c,v 1.23 2001/04/03 20:25:35 art Exp $ */ /* $NetBSD: trap.c,v 1.50 1996/10/13 21:37:49 jonathan Exp $ */ /* @@ -561,7 +561,7 @@ trap(statusReg, causeReg, vadr, pc, args) rv = vm_fault(map, va, ftype, FALSE); #ifdef VMFAULT_TRACE printf("vm_fault(%x (pmap %x), %x (%x), %x, %d) -> %x at pc %x\n", - map, &vm->vm_pmap, va, vadr, ftype, FALSE, rv, pc); + map, vm->vm_map.pmap, va, vadr, ftype, FALSE, rv, pc); #endif /* * If this was a stack access we keep track of the maximum -- cgit v1.2.3