diff options
Diffstat (limited to 'sys/arch/mvme68k/dev/memdevs.c')
-rw-r--r-- | sys/arch/mvme68k/dev/memdevs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme68k/dev/memdevs.c b/sys/arch/mvme68k/dev/memdevs.c index fc8abbee19d..7a70eebbd31 100644 --- a/sys/arch/mvme68k/dev/memdevs.c +++ b/sys/arch/mvme68k/dev/memdevs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: memdevs.c,v 1.5 2003/06/02 05:09:14 deraadt Exp $ */ +/* $OpenBSD: memdevs.c,v 1.6 2005/11/24 22:43:16 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -41,7 +41,7 @@ /*ARGSUSED*/ int memdevrw(base, len, uio, flags) - caddr_t base; + vaddr_t base; int len; struct uio *uio; int flags; @@ -67,7 +67,7 @@ memdevrw(base, len, uio, flags) c = len - v; /* till end of dev */ if (c == 0) return (0); - error = uiomove(base + v, c, uio); + error = uiomove((caddr_t)base + v, c, uio); } return (error); } |