tc: bcopy -> memcpy
This commit is contained in:
parent
ac7edb45e1
commit
5ec2c93667
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user