Date: Fri, 04 May 2018 22:58:29 +0000 From: Steven Hartland <steven.hartland@multiplay.co.uk> To: Mateusz Guzik <mjg@freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r333267 - head/sys/kern Message-ID: <CAHEMsqZ0cWhVqDaGXv5vrkO7x8DdFOiBjB70m3J6=8nm7pj13w@mail.gmail.com> In-Reply-To: <201805042248.w44MmAbu094150@repo.freebsd.org> References: <201805042248.w44MmAbu094150@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Again why? On Fri, 4 May 2018 at 23:48, Mateusz Guzik <mjg@freebsd.org> wrote: > 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?CAHEMsqZ0cWhVqDaGXv5vrkO7x8DdFOiBjB70m3J6=8nm7pj13w>