svn commit: r333267 - head/sys/kern

Mateusz Guzik mjg at FreeBSD.org
Fri May 4 22:48:11 UTC 2018


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;
 


More information about the svn-src-all mailing list