summaryrefslogtreecommitdiff
path: root/src/uml
diff options
context:
space:
mode:
authorJohn Ferlan <jferlan@redhat.com>2015-07-06 17:49:04 -0400
committerJohn Ferlan <jferlan@redhat.com>2015-07-13 15:59:32 -0400
commitf1c6179f0d44a04abb2f7c2e58f2ef3dad2892b8 (patch)
treefddd40dd92cc1f67550112aa6bd0e6577507d298 /src/uml
parentf220a3e5a883035d609f81d481bf52bb1c0b4974 (diff)
downloadlibvirt-f1c6179f0d44a04abb2f7c2e58f2ef3dad2892b8.tar.gz
nodeinfo: Add sysfs_prefix to nodeGetCPUMap
Add the sysfs_prefix argument to the call to allow for setting the path for tests to something other than SYSFS_SYSTEM_PATH.
Diffstat (limited to 'src/uml')
-rw-r--r--src/uml/uml_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c
index 7a95458119..99162f72ad 100644
--- a/src/uml/uml_driver.c
+++ b/src/uml/uml_driver.c
@@ -2877,7 +2877,7 @@ umlNodeGetCPUMap(virConnectPtr conn,
if (virNodeGetCPUMapEnsureACL(conn) < 0)
return -1;
- return nodeGetCPUMap(cpumap, online, flags);
+ return nodeGetCPUMap(NULL, cpumap, online, flags);
}