From 176b4aaebeb8b885d5df16172a5bc32481beda59 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Tue, 12 Jan 2016 16:13:56 +0100 Subject: [PATCH] report: use proper string reference in _string_disp call for _cache_policy_disp fn --- lib/report/report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/report/report.c b/lib/report/report.c index 17aa5c0bd..9f4421201 100644 --- a/lib/report/report.c +++ b/lib/report/report.c @@ -1429,7 +1429,7 @@ static int _cache_policy_disp(struct dm_report *rh, struct dm_pool *mem, return 0; } - return _string_disp(rh, mem, field, seg->policy_name, private); + return _string_disp(rh, mem, field, &seg->policy_name, private); } static int _modules_disp(struct dm_report *rh, struct dm_pool *mem,