diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-03-02 15:50:23 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-03-02 15:50:23 +0000 |
| commit | c9524588143453c41bc80aa19e97b9e18d6c4b8f (patch) | |
| tree | 766aa4287191c9a533e33cf6294817571b513579 /sys/kern/subr_log.c | |
| parent | 78b7591cc594193ab1bed401e6fee1dd27a4a542 (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_log.c')
| -rw-r--r-- | sys/kern/subr_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_log.c b/sys/kern/subr_log.c index 71293101f86f..9969fb1cb508 100644 --- a/sys/kern/subr_log.c +++ b/sys/kern/subr_log.c @@ -151,7 +151,7 @@ logread(dev_t dev, struct uio *uio, int flag) l = imin(l, uio->uio_resid); if (l == 0) break; - error = uiomove((caddr_t)msgbufp->msg_ptr + mbp->msg_bufr, + error = uiomove((char *)msgbufp->msg_ptr + mbp->msg_bufr, l, uio); if (error) break; |
