]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix virCgroupNewMachine prototype on non-Linux
authorJán Tomko <jtomko@redhat.com>
Tue, 20 Jan 2015 09:00:59 +0000 (10:00 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 20 Jan 2015 09:02:53 +0000 (10:02 +0100)
Commit 318df5a changed the prototype of virCgroupNewMachine
without adjusting the stub function for platforms without
cgroups.

src/util/vircgroup.c

index f5f617ed67de8a455b6d4b10f599ac383548de07..fe34290aca7037cfd6e3f9124aa3fa57c19a9057 100644 (file)
@@ -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)