diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2009-12-05 17:08:45 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2009-12-05 17:08:45 +0000 |
| commit | e61aa52f4efea5f2f09f0180bead79588d307326 (patch) | |
| tree | 215500a72f7d5c60bc95754698caac9755f4569b /sys/dev/hwpmc | |
| parent | f7de8f4704da3bc6e7da57a4f6427f60236c4cdc (diff) | |
Notes
Diffstat (limited to 'sys/dev/hwpmc')
| -rw-r--r-- | sys/dev/hwpmc/hwpmc_x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hwpmc/hwpmc_x86.c b/sys/dev/hwpmc/hwpmc_x86.c index 09d04bb713ee..6df47d32feca 100644 --- a/sys/dev/hwpmc/hwpmc_x86.c +++ b/sys/dev/hwpmc/hwpmc_x86.c @@ -101,7 +101,7 @@ pmc_save_user_callchain(uintptr_t *cc, int nframes, struct trapframe *tf) if (copyin((void *) sp, &pc, sizeof(pc)) != 0) return (n); } else if (copyin((void *) r, &pc, sizeof(pc)) != 0 || - copyin((void *) fp, &fp, sizeof(fp) != 0)) + copyin((void *) fp, &fp, sizeof(fp)) != 0) return (n); for (; n < nframes;) { |
