tc: bcopy -> memcpy

This commit is contained in:
Mateusz Guzik 2018-05-04 22:48:10 +00:00
parent ac7edb45e1
commit 5ec2c93667
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333267

View File

@ -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;