summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-03-02 15:50:23 +0000
committerdes <des@FreeBSD.org>2003-03-02 15:50:23 +0000
commit765ebc59b49b789f220d5975fee1fafe86545825 (patch)
tree766aa4287191c9a533e33cf6294817571b513579 /sys/fs/nwfs
parent8ebe566c39e599ebbb91bc2ea8c7c2fc0c455ace (diff)
downloadFreeBSD-src-765ebc59b49b789f220d5975fee1fafe86545825.zip
FreeBSD-src-765ebc59b49b789f220d5975fee1fafe86545825.tar.gz
uiomove-related caddr_t -> void * (just the low-hanging fruit)
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r--sys/fs/nwfs/nwfs_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nwfs/nwfs_io.c b/sys/fs/nwfs/nwfs_io.c
index f1cd83c..cca1c2e 100644
--- a/sys/fs/nwfs/nwfs_io.c
+++ b/sys/fs/nwfs/nwfs_io.c
@@ -146,7 +146,7 @@ nwfs_readvdir(struct vnode *vp, struct uio *uio, struct ucred *cred) {
error = 0;
break;
}
- if ((error = uiomove((caddr_t)&dp, DE_SIZE, uio)))
+ if ((error = uiomove(&dp, DE_SIZE, uio)))
break;
}
OpenPOWER on IntegriCloud