svn commit: r251222 - head/sys/pc98/pc98

Takahashi Yoshihiro nyan at FreeBSD.org
Sat Jun 1 12:22:00 UTC 2013


Author: nyan
Date: Sat Jun  1 12:21:59 2013
New Revision: 251222
URL: http://svnweb.freebsd.org/changeset/base/251222

Log:
  MFi386: revision 251039
  
    Use slightly more idiomatic expression to get the address of array.

Modified:
  head/sys/pc98/pc98/machdep.c

Modified: head/sys/pc98/pc98/machdep.c
==============================================================================
--- head/sys/pc98/pc98/machdep.c	Sat Jun  1 11:42:47 2013	(r251221)
+++ head/sys/pc98/pc98/machdep.c	Sat Jun  1 12:21:59 2013	(r251222)
@@ -2789,7 +2789,7 @@ get_fpcontext(struct thread *td, mcontex
 	bzero(mcp->mc_fpstate, sizeof(mcp->mc_fpstate));
 #else
 	mcp->mc_ownedfp = npxgetregs(td);
-	bcopy(&td->td_pcb->pcb_user_save, &mcp->mc_fpstate,
+	bcopy(&td->td_pcb->pcb_user_save, &mcp->mc_fpstate[0],
 	    sizeof(mcp->mc_fpstate));
 	mcp->mc_fpformat = npxformat();
 #endif


More information about the svn-src-all mailing list