summaryrefslogtreecommitdiffstats
path: root/share/man/man9/uio.9
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-03-03 10:49:37 +0000
committerdes <des@FreeBSD.org>2003-03-03 10:49:37 +0000
commit2b852dbfbd05b0667175d93429fe38a006a2574b (patch)
treeb4d7e55e95845fa15354396502aea0361ae1cefe /share/man/man9/uio.9
parent8fdf2653d764ff9b76152717b2a8ff1ce59ab62b (diff)
downloadFreeBSD-src-2b852dbfbd05b0667175d93429fe38a006a2574b.zip
FreeBSD-src-2b852dbfbd05b0667175d93429fe38a006a2574b.tar.gz
Nuke caddr_t.
Reminded by: ru
Diffstat (limited to 'share/man/man9/uio.9')
-rw-r--r--share/man/man9/uio.94
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/uio.9 b/share/man/man9/uio.9
index d5c54e0..180c6da 100644
--- a/share/man/man9/uio.9
+++ b/share/man/man9/uio.9
@@ -48,7 +48,7 @@ struct uio {
};
.Ed
.Ft int
-.Fn uiomove "caddr_t buf" "int howmuch" "struct uio *uiop"
+.Fn uiomove "void *buf" "int howmuch" "struct uio *uiop"
.Sh DESCRIPTION
The function
.Fn uiomove
@@ -137,7 +137,7 @@ fooread(dev_t dev, struct uio *uio, int flag)
while (uio->uio_resid > 0) {
if (data_available > 0) {
amnt = MIN(uio->uio_resid, data_available);
- if ((rv = uiomove((caddr_t)buffer, amnt, uio))
+ if ((rv = uiomove(buffer, amnt, uio))
!= 0)
goto error;
data_available -= amnt;
OpenPOWER on IntegriCloud