Date: Sun, 24 May 2015 17:06:00 +0000 (UTC) From: Dmitry Chagin <dchagin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r283453 - head/sys/compat/linux Message-ID: <201505241706.t4OH6075008386@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dchagin Date: Sun May 24 17:05:59 2015 New Revision: 283453 URL: https://svnweb.freebsd.org/changeset/base/283453 Log: Remove the unnecessary cast. Differential Revision: https://reviews.freebsd.org/D1461 Reviewed by: emaste Modified: head/sys/compat/linux/linux_emul.c Modified: head/sys/compat/linux/linux_emul.c ============================================================================== --- head/sys/compat/linux/linux_emul.c Sun May 24 17:00:43 2015 (r283452) +++ head/sys/compat/linux/linux_emul.c Sun May 24 17:05:59 2015 (r283453) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505241706.t4OH6075008386>