Date: Fri, 4 May 2018 22:48:10 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333267 - head/sys/kern Message-ID: <201805042248.w44MmAbu094150@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Fri May 4 22:48:10 2018 New Revision: 333267 URL: https://svnweb.freebsd.org/changeset/base/333267 Log: tc: bcopy -> memcpy Modified: head/sys/kern/kern_tc.c Modified: head/sys/kern/kern_tc.c ============================================================================== --- head/sys/kern/kern_tc.c Fri May 4 22:41:12 2018 (r333266) +++ head/sys/kern/kern_tc.c Fri May 4 22:48:10 2018 (r333267) @@ -1352,7 +1352,7 @@ tc_windup(struct bintime *new_boottimebin) ogen = th->th_generation; th->th_generation = 0; atomic_thread_fence_rel(); - bcopy(tho, th, offsetof(struct timehands, th_generation)); + memcpy(th, tho, offsetof(struct timehands, th_generation)); if (new_boottimebin != NULL) th->th_boottime = *new_boottimebin;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805042248.w44MmAbu094150>