vircgrouppriv: fix ATTRIBUTE_NONNULL for virCgroupNewDomainPartition

Commit <99d2c6519ad18651b5959fa0a3366bcb2c1e44f3> removed parameter
from the function but did not modified ATTRIBUTE_NONNULL.

Reported-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina 2020-11-05 23:15:16 +01:00
parent 6886b47f8d
commit 8f0f6ff082

View File

@ -124,7 +124,7 @@ int virCgroupNewDomainPartition(virCgroupPtr partition,
const char *driver,
const char *name,
virCgroupPtr *group)
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(5);
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(4);
int virCgroupRemoveRecursively(char *grppath);