summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/flash.c')
-rw-r--r--sys/arch/sparc/dev/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/flash.c b/sys/arch/sparc/dev/flash.c
index 769d21450a9..7fafa69ad92 100644
--- a/sys/arch/sparc/dev/flash.c
+++ b/sys/arch/sparc/dev/flash.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: flash.c,v 1.5 2006/03/15 20:03:06 miod Exp $ */
+/* $OpenBSD: flash.c,v 1.6 2015/02/10 21:56:09 miod Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -181,7 +181,7 @@ flashrw(dev, uio, flags)
if (cnt > (FLASH_REGS_SIZE - off))
cnt = FLASH_REGS_SIZE - off;
- return (uiomove(&sc->sc_regs->regs[0] + off, cnt, uio));
+ return (uiomovei(&sc->sc_regs->regs[0] + off, cnt, uio));
}
int