From: briggs Date: Sun, 14 Jan 1996 21:15:21 +0000 (+0000) Subject: from netbsd: more of PR 1931. Fix code that's not compiled unless DEBUG. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6556ec255d5507d90dc1b8946fa429582c5fa546;p=openbsd from netbsd: more of PR 1931. Fix code that's not compiled unless DEBUG. --- diff --git a/sys/arch/mac68k/mac68k/vm_machdep.c b/sys/arch/mac68k/mac68k/vm_machdep.c index 38e447d9ecd..7deb18a559f 100644 --- a/sys/arch/mac68k/mac68k/vm_machdep.c +++ b/sys/arch/mac68k/mac68k/vm_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: vm_machdep.c,v 1.14 1995/12/09 04:37:48 mycroft Exp $ */ +/* $NetBSD: vm_machdep.c,v 1.15 1996/01/12 04:16:59 briggs Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -239,7 +239,7 @@ pagemove(from, to, size) register vm_offset_t pa; #ifdef DEBUG - if (size & CLOFFSET) + if (size % PAGE_SIZE) panic("pagemove"); #endif while (size > 0) {