diff options
author | dchagin <dchagin@FreeBSD.org> | 2016-01-09 17:01:26 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2016-01-09 17:01:26 +0000 |
commit | 198b8af89868cb270b9c060cc225850fe35b3f4f (patch) | |
tree | 2d6a65cf5a44eb84399c6156c5e288b0251b3ff8 | |
parent | 09f25351da19d9d81a961cb3d08dd7ed822dd8ec (diff) | |
download | FreeBSD-src-198b8af89868cb270b9c060cc225850fe35b3f4f.zip FreeBSD-src-198b8af89868cb270b9c060cc225850fe35b3f4f.tar.gz |
MFC r283453:
Remove the unnecessary cast.
-rw-r--r-- | sys/compat/linux/linux_emul.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_emul.c b/sys/compat/linux/linux_emul.c index 78a1176..912baaf 100644 --- a/sys/compat/linux/linux_emul.c +++ b/sys/compat/linux/linux_emul.c @@ -265,7 +265,7 @@ linux_schedtail(struct thread *td) child_set_tid = em->child_set_tid; if (child_set_tid != NULL) { - error = copyout(&em->em_tid, (int *)child_set_tid, + error = copyout(&em->em_tid, child_set_tid, sizeof(em->em_tid)); LINUX_CTR4(clone, "schedtail(%d) %p stored %d error %d", td->td_tid, child_set_tid, em->em_tid, error); |