summaryrefslogtreecommitdiffstats
path: root/module/zfs/arc.c
diff options
context:
space:
mode:
authorNed Bass <[email protected]>2014-10-23 16:59:27 -0700
committerBrian Behlendorf <[email protected]>2014-11-17 11:13:45 -0800
commit29e57d15c8cdd5d1d7905c9045e8f40c6f9b72f4 (patch)
tree4ca31ff732d93938f5242295c1349ef34761f0a4 /module/zfs/arc.c
parent59ec819a0c616fe2ac2b28829086568353a7d7fe (diff)
Fix dprintf format specifiers
Fix a few dprintf format specifiers that disagreed with their argument types. These came to light as compiler errors when converting dprintf to use the Linux trace buffer. Previously this wasn't a problem, presumably because the SPL debug logging uses vsnprintf which must perform automatic type conversion. Signed-off-by: Ned Bass <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/arc.c')
-rw-r--r--module/zfs/arc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c
index 148b208a8..fd593a13e 100644
--- a/module/zfs/arc.c
+++ b/module/zfs/arc.c
@@ -1928,7 +1928,7 @@ top:
if (bytes_evicted < bytes)
dprintf("only evicted %lld bytes from %x\n",
- (longlong_t)bytes_evicted, state);
+ (longlong_t)bytes_evicted, state->arcs_state);
if (skipped)
ARCSTAT_INCR(arcstat_evict_skip, skipped);