summaryrefslogtreecommitdiff
path: root/lib/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thread.c')
-rw-r--r--lib/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.c b/lib/thread.c
index f9ff16b7b3..18e1c92280 100644
--- a/lib/thread.c
+++ b/lib/thread.c
@@ -60,7 +60,7 @@ static struct list *masters;
/* CLI start ---------------------------------------------------------------- */
static unsigned int cpu_record_hash_key(struct cpu_thread_history *a)
{
- int size = sizeof(&a->func);
+ int size = sizeof(a->func);
return jhash(&a->func, size, 0);
}