summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/ddb/db_trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc/ddb/db_trace.c')
-rw-r--r--sys/arch/powerpc/ddb/db_trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc/ddb/db_trace.c b/sys/arch/powerpc/ddb/db_trace.c
index 63214acd6fc..a84d4a9f688 100644
--- a/sys/arch/powerpc/ddb/db_trace.c
+++ b/sys/arch/powerpc/ddb/db_trace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_trace.c,v 1.2 2003/02/12 22:41:35 jason Exp $ */
+/* $OpenBSD: db_trace.c,v 1.3 2003/02/26 21:54:44 drahn Exp $ */
/* $NetBSD: db_trace.c,v 1.15 1996/02/22 23:23:41 gwr Exp $ */
/*
@@ -103,7 +103,7 @@ db_read32(u_int32_t paddr, u_int32_t *value)
{
faultbuf env;
faultbuf *old_onfault = curpcb->pcb_onfault;
- if (setfault(env)) {
+ if (setfault(&env)) {
curpcb->pcb_onfault = old_onfault;
return EFAULT;
}