diff options
author | jake <jake@FreeBSD.org> | 2003-04-03 15:50:17 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2003-04-03 15:50:17 +0000 |
commit | 4c3ebbad6662b015c40657f65d6b7004d34c24b5 (patch) | |
tree | 7333fd9d2b983cec07555c259cdcbb18f6f57d42 | |
parent | 63b6b25833278c83d5a675c713244a4c6baff6f5 (diff) | |
download | FreeBSD-src-4c3ebbad6662b015c40657f65d6b7004d34c24b5.zip FreeBSD-src-4c3ebbad6662b015c40657f65d6b7004d34c24b5.tar.gz |
Fix typos (don't use * when taking the size of an array).
-rw-r--r-- | sys/sparc64/sparc64/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c index 9cfdfc5..9030523 100644 --- a/sys/sparc64/sparc64/machdep.c +++ b/sys/sparc64/sparc64/machdep.c @@ -529,7 +529,7 @@ get_mcontext(struct thread *td, mcontext_t *mc) pcb->pcb_flags |= PCB_FEF; } 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; } critical_exit(); @@ -553,7 +553,7 @@ set_mcontext(struct thread *td, const mcontext_t *mc) tf->tf_wstate = wstate; if ((mc->mc_fprs & FPRS_FEF) != 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; } return (0); |