From b8c0f186543c01cbda95c7251a0a992823764df5 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Sat, 6 Feb 2016 06:45:46 -0500 Subject: [PATCH] util: Fix virCgroupNewMachine ATTRIBUTE_NONNULL args Commit id 'c3bd0019c0' removed arg3, but forgot to adjust the numbers for NONNULL - caused build failure for coverity --- src/util/vircgroup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/vircgroup.h b/src/util/vircgroup.h index bec88dc84e..46d3acee09 100644 --- a/src/util/vircgroup.h +++ b/src/util/vircgroup.h @@ -110,7 +110,7 @@ int virCgroupNewMachine(const char *name, int controllers, virCgroupPtr *group) ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) - ATTRIBUTE_NONNULL(4); + ATTRIBUTE_NONNULL(3); int virCgroupTerminateMachine(const char *name) ATTRIBUTE_NONNULL(1); -- GitLab