1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

report: use proper string reference in _string_disp call for _cache_policy_disp fn

This commit is contained in:
Peter Rajnoha 2016-01-12 16:13:56 +01:00
parent 1a3ee6402e
commit 176b4aaebe

View File

@ -1429,7 +1429,7 @@ static int _cache_policy_disp(struct dm_report *rh, struct dm_pool *mem,
return 0; 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, static int _modules_disp(struct dm_report *rh, struct dm_pool *mem,