On Mon, Sep 04, 2023 at 02:44:48PM +0300, Dmitry Frolov wrote:
Reviewing the sources, I noticed that, argumets order in
virCgroupGetMemoryStat() function call does not correspond
to the function declaration:
-instead of *activeAnon, &meminfo->inactive_anon is passed;
-instead of *inactiveAnon, &meminfo->active_anon is passed;
-instead of *activeFile, &meminfo->inactive_file is passed;
-instead of *inactiveFile, &meminfo->active_file is passed.
Fixes: e634c7cd0d ("lxc: Use virCgroupGetMemoryStat")
Signed-off-by: Dmitry Frolov <frolov(a)swemel.ru>
Reviewed-by: Martin Kletzander <mkletzan(a)redhat.com>
Thanks, pushed now