diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-08-31 21:51:38 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-08-31 21:51:38 +0000 |
commit | 8b6787b7a179ce0cf17586ea254014de1506d6b7 (patch) | |
tree | 34da45ed8c7b8bb7c43106d27d3aba6b305d2570 /sys/arch/mvme68k | |
parent | cadd2e97c1b62769dc12175f0bb08b283f584786 (diff) |
Buglet in cachectl(), do not use curproc anymore.
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r-- | sys/arch/mvme68k/mvme68k/sys_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme68k/mvme68k/sys_machdep.c b/sys/arch/mvme68k/mvme68k/sys_machdep.c index 8ce7b206d83..aaaa501f6a0 100644 --- a/sys/arch/mvme68k/mvme68k/sys_machdep.c +++ b/sys/arch/mvme68k/mvme68k/sys_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sys_machdep.c,v 1.15 2004/05/20 09:20:42 kettenis Exp $ */ +/* $OpenBSD: sys_machdep.c,v 1.16 2004/08/31 21:51:37 miod Exp $ */ /* * Copyright (c) 1982, 1986, 1993 @@ -86,8 +86,8 @@ cachectl(p, req, addr, len) #ifdef COMPAT_HPUX extern struct emul emul_hpux; - if ((curproc->p_emul == &emul_hpux) && - len != 16 && len != NBPG) + if ((p->p_emul == &emul_hpux) && + len != 16 && len != NBPG) doall = 1; #endif #ifdef M68060 |