diff options
author | kib <kib@FreeBSD.org> | 2013-05-27 18:39:39 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-05-27 18:39:39 +0000 |
commit | eaa828d3a577b0680cd7fa63e4b94c95001ce09e (patch) | |
tree | b991ea19fc2cfd5e64bf668cb6c803d181587db7 /sys/i386/i386 | |
parent | 4f651f991c24010b523b519e8a5f490f4f3e8a62 (diff) | |
download | FreeBSD-src-eaa828d3a577b0680cd7fa63e4b94c95001ce09e.zip FreeBSD-src-eaa828d3a577b0680cd7fa63e4b94c95001ce09e.tar.gz |
Use slightly more idiomatic expression to get the address of array.
Tested by: dim, pgj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffstat (limited to 'sys/i386/i386')
-rw-r--r-- | sys/i386/i386/machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index f67f758..51765e9 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -3488,7 +3488,7 @@ get_fpcontext(struct thread *td, mcontext_t *mcp) 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 |