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/gnu/fs | |
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/gnu/fs')
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_lookup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_lookup.c b/sys/gnu/fs/ext2fs/ext2_lookup.c index 49caccf..bba9e4b 100644 --- a/sys/gnu/fs/ext2fs/ext2_lookup.c +++ b/sys/gnu/fs/ext2fs/ext2_lookup.c @@ -222,8 +222,7 @@ ext2_readdir(ap) dp = (struct ext2_dir_entry_2 *) ((char *)dp + dp->rec_len); error = - uiomove((caddr_t)&dstdp, - dstdp.d_reclen, uio); + uiomove(&dstdp, dstdp.d_reclen, uio); if (!error) ncookies++; } else |