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;
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to