svn commit: r252108 - stable/8/sys/pc98/pc98

Takahashi Yoshihiro nyan at FreeBSD.org
Sun Jun 23 09:34:55 UTC 2013


Author: nyan
Date: Sun Jun 23 09:34:55 2013
New Revision: 252108
URL: http://svnweb.freebsd.org/changeset/base/252108

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

Modified:
  stable/8/sys/pc98/pc98/machdep.c

Modified: stable/8/sys/pc98/pc98/machdep.c
==============================================================================
--- stable/8/sys/pc98/pc98/machdep.c	Sun Jun 23 09:23:32 2013	(r252107)
+++ stable/8/sys/pc98/pc98/machdep.c	Sun Jun 23 09:34:55 2013	(r252108)
@@ -2734,7 +2734,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