lib: fix sizeof expression (Coverity 1455482)

Signed-off-by: F. Aragon <paco@voltanet.io>
This commit is contained in:
paco 2018-06-08 19:30:32 +02:00
parent 9eafc8abd7
commit 883cc51dfe

View File

@ -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);
}