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/amd64/ia32 | |
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/amd64/ia32')
-rw-r--r-- | sys/amd64/ia32/ia32_signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/ia32/ia32_signal.c b/sys/amd64/ia32/ia32_signal.c index 9130544..cff57f6 100644 --- a/sys/amd64/ia32/ia32_signal.c +++ b/sys/amd64/ia32/ia32_signal.c @@ -101,7 +101,7 @@ ia32_get_fpcontext(struct thread *td, struct ia32_mcontext *mcp, * for now, it should be irrelevant for most applications. */ mcp->mc_ownedfp = fpugetregs(td); - bcopy(get_pcb_user_save_td(td), &mcp->mc_fpstate, + bcopy(get_pcb_user_save_td(td), &mcp->mc_fpstate[0], sizeof(mcp->mc_fpstate)); mcp->mc_fpformat = fpuformat(); if (!use_xsave || xfpusave_len == 0) |