diff options
author | des <des@FreeBSD.org> | 2003-03-02 15:50:23 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-03-02 15:50:23 +0000 |
commit | 765ebc59b49b789f220d5975fee1fafe86545825 (patch) | |
tree | 766aa4287191c9a533e33cf6294817571b513579 /sys/fs/msdosfs | |
parent | 8ebe566c39e599ebbb91bc2ea8c7c2fc0c455ace (diff) | |
download | FreeBSD-src-765ebc59b49b789f220d5975fee1fafe86545825.zip FreeBSD-src-765ebc59b49b789f220d5975fee1fafe86545825.tar.gz |
uiomove-related caddr_t -> void * (just the low-hanging fruit)
Diffstat (limited to 'sys/fs/msdosfs')
-rw-r--r-- | sys/fs/msdosfs/msdosfs_vnops.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c index c92c83a..3d439d3 100644 --- a/sys/fs/msdosfs/msdosfs_vnops.c +++ b/sys/fs/msdosfs/msdosfs_vnops.c @@ -1545,8 +1545,7 @@ msdosfs_readdir(ap) dirbuf.d_reclen = GENERIC_DIRSIZ(&dirbuf); if (uio->uio_resid < dirbuf.d_reclen) goto out; - error = uiomove((caddr_t) &dirbuf, - dirbuf.d_reclen, uio); + error = uiomove(&dirbuf, dirbuf.d_reclen, uio); if (error) goto out; offset += sizeof(struct direntry); @@ -1668,8 +1667,7 @@ msdosfs_readdir(ap) brelse(bp); goto out; } - error = uiomove((caddr_t) &dirbuf, - dirbuf.d_reclen, uio); + error = uiomove(&dirbuf, dirbuf.d_reclen, uio); if (error) { brelse(bp); goto out; |