summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJán Tomko <jtomko@redhat.com>2015-01-20 10:00:59 +0100
committerJán Tomko <jtomko@redhat.com>2015-01-20 10:02:53 +0100
commitc803c070c44c3e0957fc89d75d954d0b0aca3ccc (patch)
tree58bf71f77c3a57d62354a119f6c47caf424d7d2c
parent298fa4858ced29e2c42681635a5a8dcd6da0b231 (diff)
downloadlibvirt-c803c070c44c3e0957fc89d75d954d0b0aca3ccc.tar.gz
Fix virCgroupNewMachine prototype on non-Linuxv1.2.12-rc1
Commit 318df5a changed the prototype of virCgroupNewMachine without adjusting the stub function for platforms without cgroups.
-rw-r--r--src/util/vircgroup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c
index f5f617ed67..fe34290aca 100644
--- a/src/util/vircgroup.c
+++ b/src/util/vircgroup.c
@@ -4073,6 +4073,8 @@ virCgroupNewMachine(const char *name ATTRIBUTE_UNUSED,
const char *rootdir ATTRIBUTE_UNUSED,
pid_t pidleader ATTRIBUTE_UNUSED,
bool isContainer ATTRIBUTE_UNUSED,
+ size_t nnicindexes ATTRIBUTE_UNUSED,
+ int *nicindexes ATTRIBUTE_UNUSED,
const char *partition ATTRIBUTE_UNUSED,
int controllers ATTRIBUTE_UNUSED,
virCgroupPtr *group ATTRIBUTE_UNUSED)