]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Add missing param to virCgroupForDriver stub
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 15 Apr 2013 16:06:19 +0000 (17:06 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 15 Apr 2013 16:35:31 +0000 (17:35 +0100)
The virCgroupForDriver method recently gained an 'int controllers'
parameter, but the stub impl did not

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/vircgroup.c

index dc2b4313d9b76236a46b0a7645b4fe6ac08e4515..56d56f972021467e853449b322d58f041e0171f2 100644 (file)
@@ -984,7 +984,8 @@ out:
 int virCgroupForDriver(const char *name ATTRIBUTE_UNUSED,
                        virCgroupPtr *group ATTRIBUTE_UNUSED,
                        bool privileged ATTRIBUTE_UNUSED,
-                       bool create ATTRIBUTE_UNUSED)
+                       bool create ATTRIBUTE_UNUSED,
+                       int controllers ATTRIBUTE_UNUSED)
 {
     /* Claim no support */
     return -ENXIO;