tc: bcopy -> memcpy

This commit is contained in:
Mateusz Guzik 2018-05-04 22:48:10 +00:00
parent ac7edb45e1
commit 5ec2c93667

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;