From 021faa11ac3e8868e33ee981995319d77cba1b58 Mon Sep 17 00:00:00 2001 From: des Date: Mon, 3 Mar 2003 09:14:26 +0000 Subject: More caddr_t removal, in conjunction with copy{in,out}(9) this time. Also clean up some egregious casts and incorrect use of sizeof. --- sys/compat/linux/linux_sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/compat/linux/linux_sysctl.c') diff --git a/sys/compat/linux/linux_sysctl.c b/sys/compat/linux/linux_sysctl.c index 699b5d6..4e08402 100644 --- a/sys/compat/linux/linux_sysctl.c +++ b/sys/compat/linux/linux_sysctl.c @@ -85,7 +85,7 @@ linux_sysctl(struct thread *td, struct linux_sysctl_args *args) l_int *mib; int error, i; - error = copyin((caddr_t)args->args, &la, sizeof(la)); + error = copyin(args->args, &la, sizeof(la)); if (error) return (error); -- cgit v1.1