master - report: use proper string reference in _string_disp call for _cache_policy_disp fn
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=176b4aaebeb8b885d5df16172a5bc32481beda59 Commit: 176b4aaebeb8b885d5df16172a5bc32481beda59 Parent: 1a3ee6402ecf761554040a551f6c7f52b92f73ca Author: Peter Rajnoha <[email protected]> AuthorDate: Tue Jan 12 16:13:56 2016 +0100 Committer: Peter Rajnoha <[email protected]> CommitterDate: Tue Jan 12 16:14:23 2016 +0100
report: use proper string reference in _string_disp call for _cache_policy_disp fn
--- lib/report/report.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
lib/report/report.c +1 -1
@@ -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,