summaryrefslogtreecommitdiff
path: root/sys/arch/vax/vsa/lcg.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/vax/vsa/lcg.c')
-rw-r--r--sys/arch/vax/vsa/lcg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/vsa/lcg.c b/sys/arch/vax/vsa/lcg.c
index d2cbecb56f8..a714b10edae 100644
--- a/sys/arch/vax/vsa/lcg.c
+++ b/sys/arch/vax/vsa/lcg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lcg.c,v 1.14 2008/12/21 21:39:50 miod Exp $ */
+/* $OpenBSD: lcg.c,v 1.15 2010/12/26 15:41:00 miod Exp $ */
/*
* Copyright (c) 2006 Miodrag Vallat.
*
@@ -491,7 +491,7 @@ lcg_mmap(void *v, off_t offset, int prot)
if (offset >= ss->ss_fbsize || offset < 0)
return (-1);
- return (LCG_FB_ADDR + offset) >> PGSHIFT;
+ return (LCG_FB_ADDR + offset);
}
int