]> xenbits.xensource.com Git - libvirt.git/commitdiff
vircgroup: Update virCgroupDenyDevicePath stub
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 17 Feb 2016 13:25:35 +0000 (14:25 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 17 Feb 2016 13:25:35 +0000 (14:25 +0100)
In cf113e8d we changed the declaration of
virCgroupAllowDevicePath() and virCgroupDenyDevicePath().
However, while updating the stub for non-cgroup platforms for the
former we forgot to update the latter too causing a build
failure.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/util/vircgroup.c

index d032c604e39434fd538c1b732e5fb913e3594187..38398fd7d58465cf06713eaf84e67a1ac0c9edc5 100644 (file)
@@ -4689,7 +4689,8 @@ virCgroupDenyDevice(virCgroupPtr group ATTRIBUTE_UNUSED,
 int
 virCgroupDenyDevicePath(virCgroupPtr group ATTRIBUTE_UNUSED,
                         const char *path ATTRIBUTE_UNUSED,
-                        int perms ATTRIBUTE_UNUSED)
+                        int perms ATTRIBUTE_UNUSED,
+                        bool ignoreEacces ATTRIBUTE_UNUSED)
 {
     virReportSystemError(ENOSYS, "%s",
                          _("Control groups not supported on this platform"));