diff options
author | 1997-03-14 14:15:22 +0000 | |
---|---|---|
committer | 1997-03-14 14:15:22 +0000 | |
commit | 94639110fb8257a44b4dd58f27723101bd1d9249 (patch) | |
tree | 1d3151de54a14919164b08417f8ee5740284ac5f | |
parent | Updates from Yanagisawa and Denny. This seems to work. (diff) | |
download | wireguard-openbsd-94639110fb8257a44b4dd58f27723101bd1d9249.tar.xz wireguard-openbsd-94639110fb8257a44b4dd58f27723101bd1d9249.zip |
Use macro to truncate page.
-rw-r--r-- | sys/arch/mac68k/dev/grf_iv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/grf_iv.c b/sys/arch/mac68k/dev/grf_iv.c index 41ad7c4d893..9a832b927eb 100644 --- a/sys/arch/mac68k/dev/grf_iv.c +++ b/sys/arch/mac68k/dev/grf_iv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf_iv.c,v 1.9 1997/03/12 13:26:37 briggs Exp $ */ +/* $OpenBSD: grf_iv.c,v 1.10 1997/03/14 14:15:22 briggs Exp $ */ /* $NetBSD: grf_iv.c,v 1.17 1997/02/20 00:23:27 scottr Exp $ */ /* @@ -139,7 +139,7 @@ grfiv_attach(parent, self, aux) gm->hres = 80; /* XXX Hack */ gm->vres = 80; /* XXX Hack */ gm->fbsize = gm->rowbytes * gm->height; - gm->fbbase = (caddr_t) (mac68k_vidlog & ~PGOFSET); + gm->fbbase = (caddr_t) mac68k_trunc_page(mac68k_vidlog); gm->fboff = mac68k_vidlog & PGOFSET; /* Perform common video attachment. */ |