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:
parent
1a3ee6402e
commit
176b4aaebe
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user