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/compat/linux/linux_ioctl.c | |
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/compat/linux/linux_ioctl.c')
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 9f10ba5..cb1cbbd 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -2024,8 +2024,7 @@ linux_ifconf(struct thread *td, struct ifconf *uifc) memcpy(ifr.ifr_addr.sa_data, sa->sa_data, sizeof(ifr.ifr_addr.sa_data)); - error = uiomove((caddr_t)&ifr, sizeof ifr, - &uio); + error = uiomove(&ifr, sizeof ifr, &uio); if (error != 0) { IFNET_RUNLOCK(); return (error); |