summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_ipc.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-03-03 09:14:26 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-03-03 09:14:26 +0000
commit4b7ef73d71f7c0c792a372272844274d64f332e5 (patch)
tree328039d4f363f2179be4fe277b395b7f3e9d2d3f /sys/compat/linux/linux_ipc.c
parent73ba057ccc2345c554ae09d3e0842cdb1e385597 (diff)
Notes
Diffstat (limited to 'sys/compat/linux/linux_ipc.c')
-rw-r--r--sys/compat/linux/linux_ipc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_ipc.c b/sys/compat/linux/linux_ipc.c
index 6dd21eb6bc7f..1a6d3d7244f5 100644
--- a/sys/compat/linux/linux_ipc.c
+++ b/sys/compat/linux/linux_ipc.c
@@ -545,8 +545,8 @@ linux_semctl(struct thread *td, struct linux_semctl_args *args)
linux_seminfo.semusz = used_semids;
linux_seminfo.semaem = used_sems;
*/
- error = copyout((caddr_t)&linux_seminfo, (caddr_t)args->arg.buf,
- sizeof(linux_seminfo) );
+ error = copyout(&linux_seminfo, args->arg.buf,
+ sizeof(linux_seminfo));
if (error)
return error;
td->td_retval[0] = seminfo.semmni;
@@ -665,7 +665,7 @@ linux_shmat(struct thread *td, struct linux_shmat_args *args)
if ((error = shmat(td, &bsd_args)))
return error;
#ifdef __i386__
- if ((error = copyout(td->td_retval, (caddr_t)args->raddr, sizeof(l_ulong))))
+ if ((error = copyout(td->td_retval, args->raddr, sizeof(l_ulong))))
return error;
td->td_retval[0] = 0;
#endif