diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-01-22 16:23:25 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-01-22 16:23:25 +0000 |
commit | 0fd3c198df17ec50f9c12f3a373287cccba302af (patch) | |
tree | 86539813557f6d6df993ffde6aee0e73842a8cdb /sys/arch/hppa | |
parent | 9d245d1e68c71847b1b866caf8d7df9f1fb403b9 (diff) |
print out the failed p_addr in the panic message
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/vm_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/vm_machdep.c b/sys/arch/hppa/hppa/vm_machdep.c index ee154ed5ec6..7a2d9920649 100644 --- a/sys/arch/hppa/hppa/vm_machdep.c +++ b/sys/arch/hppa/hppa/vm_machdep.c @@ -1,7 +1,7 @@ -/* $OpenBSD: vm_machdep.c,v 1.47 2003/01/01 10:03:15 mickey Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.48 2003/01/22 16:23:24 mickey Exp $ */ /* - * Copyright (c) 1999-2002 Michael Shalayeff + * Copyright (c) 1999-2003 Michael Shalayeff * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -127,7 +127,7 @@ cpu_swapin(p) * Stash the physical for the pcb of U for later perusal */ if (!pmap_extract(pmap_kernel(), (vaddr_t)p->p_addr, &pa)) - panic("pmap_extract(p_addr) failed"); + panic("pmap_extract(%p) failed", p->p_addr); tf->tf_cr30 = pa; } |