summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3e0942f)
raw | patch | inline | side by side (parent: 3e0942f)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 23 Jul 2014 21:12:11 +0000 (23:12 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 23 Jul 2014 21:12:11 +0000 (23:12 +0200) |
This allows the actual values from getting stored, not the pointer
addresses.
addresses.
src/zfs_arc.c | patch | blob | history |
diff --git a/src/zfs_arc.c b/src/zfs_arc.c
index ebfc54b4453c1e00166ae6dfc08e0695eac09b44..c3c9cf9552f91df788b054204d034ccad00f1de0 100644 (file)
--- a/src/zfs_arc.c
+++ b/src/zfs_arc.c
{
llvalues[i] = atoll (fields[2]);
- e = llentry_create (fields[0], &llvalues[i]);
+ e = llentry_create (fields[0], (void *)llvalues[i]);
if (e == NULL)
{
ERROR ("zfs_arc plugin: `llentry_create' failed.");