diff options
Diffstat (limited to 'sys/kern/subr_prf.c')
-rw-r--r-- | sys/kern/subr_prf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index 4735527a7b4a..7f9b7906bc84 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -254,7 +254,7 @@ log_console(struct uio *uio) iovlen = uio->uio_iovcnt * sizeof (struct iovec); MALLOC(miov, struct iovec *, iovlen, M_TEMP, M_WAITOK); MALLOC(consbuffer, char *, CONSCHUNK, M_TEMP, M_WAITOK); - bcopy((caddr_t)muio.uio_iov, (caddr_t)miov, iovlen); + bcopy(muio.uio_iov, miov, iovlen); muio.uio_iov = miov; uio = &muio; |