diff options
Diffstat (limited to 'sys/kern/subr_log.c')
-rw-r--r-- | sys/kern/subr_log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_log.c b/sys/kern/subr_log.c index 8a4746fd93a..dbae2898ac7 100644 --- a/sys/kern/subr_log.c +++ b/sys/kern/subr_log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_log.c,v 1.27 2015/01/13 18:51:27 kettenis Exp $ */ +/* $OpenBSD: subr_log.c,v 1.28 2015/02/10 21:56:09 miod Exp $ */ /* $NetBSD: subr_log.c,v 1.11 1996/03/30 22:24:44 christos Exp $ */ /* @@ -207,7 +207,7 @@ logread(dev_t dev, struct uio *uio, int flag) l = min(l, uio->uio_resid); if (l == 0) break; - error = uiomove(&mbp->msg_bufc[mbp->msg_bufr], (int)l, uio); + error = uiomovei(&mbp->msg_bufc[mbp->msg_bufr], (int)l, uio); if (error) break; mbp->msg_bufr += l; |