mirror of https://gitee.com/openkylin/libvirt.git
vircgroup: Update virCgroupDenyDevicePath stub
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>
This commit is contained in:
parent
cdb757c970
commit
6bfb03ae15
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue