Fix typos (don't use * when taking the size of an array).

This commit is contained in:
Jake Burkholder 2003-04-03 15:50:17 +00:00
parent e609b4d7db
commit 1db34e9d43
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113018

View File

@ -529,7 +529,7 @@ get_mcontext(struct thread *td, mcontext_t *mc)
pcb->pcb_flags |= PCB_FEF; pcb->pcb_flags |= PCB_FEF;
} }
if ((pcb->pcb_flags & PCB_FEF) != 0) { if ((pcb->pcb_flags & PCB_FEF) != 0) {
bcopy(pcb->pcb_ufp, mc->mc_fp, sizeof(*mc->mc_fp)); bcopy(pcb->pcb_ufp, mc->mc_fp, sizeof(mc->mc_fp));
mc->mc_fprs |= FPRS_FEF; mc->mc_fprs |= FPRS_FEF;
} }
critical_exit(); critical_exit();
@ -553,7 +553,7 @@ set_mcontext(struct thread *td, const mcontext_t *mc)
tf->tf_wstate = wstate; tf->tf_wstate = wstate;
if ((mc->mc_fprs & FPRS_FEF) != 0) { if ((mc->mc_fprs & FPRS_FEF) != 0) {
tf->tf_fprs = 0; tf->tf_fprs = 0;
bcopy(mc->mc_fp, pcb->pcb_ufp, sizeof(*pcb->pcb_ufp)); bcopy(mc->mc_fp, pcb->pcb_ufp, sizeof(pcb->pcb_ufp));
pcb->pcb_flags |= PCB_FEF; pcb->pcb_flags |= PCB_FEF;
} }
return (0); return (0);