artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8e7272
)
Avoid a double trap
author
niklas
<niklas@openbsd.org>
Sat, 18 Jan 1997 12:42:02 +0000
(12:42 +0000)
committer
niklas
<niklas@openbsd.org>
Sat, 18 Jan 1997 12:42:02 +0000
(12:42 +0000)
sys/arch/amiga/amiga/trap.c
patch
|
blob
|
history
diff --git
a/sys/arch/amiga/amiga/trap.c
b/sys/arch/amiga/amiga/trap.c
index
48ede72
..
cec9a85
100644
(file)
--- a/
sys/arch/amiga/amiga/trap.c
+++ b/
sys/arch/amiga/amiga/trap.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: trap.c,v 1.
8 1997/01/16 09:23:30
niklas Exp $ */
+/* $OpenBSD: trap.c,v 1.
9 1997/01/18 12:42:02
niklas Exp $ */
/* $NetBSD: trap.c,v 1.52 1996/11/13 06:22:20 thorpej Exp $ */
/*
@@
-498,7
+498,7
@@
trapmmufault(type, code, v, fp, p, sticks)
nogo:
#endif
if (type == T_MMUFLT) {
- if (p && p->p_addr->u_pcb.pcb_onfault) {
+ if (p && p->p_addr
&& p->p_addr
->u_pcb.pcb_onfault) {
trapcpfault(p, fp);
return;
}