]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Fix a bug in virResctrlMonitorGetStats
authorWang Huaqiang <huaqiang.wang@intel.com>
Tue, 20 Nov 2018 02:10:39 +0000 (10:10 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 20 Nov 2018 19:08:01 +0000 (14:08 -0500)
commit4e8b37d4975ea6e727cf4ddcbc11f154208d887b
tree1dcd72c6c27203e88662527b6de1837926b34e5f
parent88a109a17da706126d045a0266acab2ad85e2f7c
util: Fix a bug in virResctrlMonitorGetStats

The path argument of virFileIsDir should be a full name
of file, pathname and filename. Fixed it by passing the
full path name to virFileIsDir.

Signed-off-by: Wang Huaqiang <huaqiang.wang@intel.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/util/virresctrl.c