Fix the size returned for NT_FPREGSET.

Sponsored by:	University of Cambridge, Google, Inc.
This commit is contained in:
John Baldwin 2022-03-03 17:53:06 -08:00
parent 9af41803cb
commit 0b25cbc79d

View file

@ -2271,7 +2271,7 @@ __elfN(get_fpregset)(struct regset *rs, struct thread *td, void *buf,
fill_fpregs(td, fpregset);
#endif
}
*sizep = sizeof(fpregset);
*sizep = sizeof(*fpregset);
return (true);
}