d71922
From 8ff6234dc3f9d3d83bc104b4b3c0515f48aa305a Mon Sep 17 00:00:00 2001
d71922
Message-Id: <8ff6234dc3f9d3d83bc104b4b3c0515f48aa305a@dist-git>
d71922
From: John Ferlan <jferlan@redhat.com>
d71922
Date: Tue, 16 Feb 2016 11:55:11 +0100
d71922
Subject: [PATCH] util: Fix virCgroupNewMachine ATTRIBUTE_NONNULL args
d71922
d71922
https://bugzilla.redhat.com/show_bug.cgi?id=1308494
d71922
d71922
Commit id 'c3bd0019c0' removed arg3, but forgot to adjust the numbers
d71922
for NONNULL - caused build failure for coverity
d71922
d71922
(cherry picked from commit b8c0f186543c01cbda95c7251a0a992823764df5)
d71922
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
d71922
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
d71922
---
d71922
 src/util/vircgroup.h | 2 +-
d71922
 1 file changed, 1 insertion(+), 1 deletion(-)
d71922
d71922
diff --git a/src/util/vircgroup.h b/src/util/vircgroup.h
d71922
index 6570cb3..b98e416 100644
d71922
--- a/src/util/vircgroup.h
d71922
+++ b/src/util/vircgroup.h
d71922
@@ -110,7 +110,7 @@ int virCgroupNewMachine(const char *name,
d71922
                         int controllers,
d71922
                         virCgroupPtr *group)
d71922
     ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2)
d71922
-    ATTRIBUTE_NONNULL(4);
d71922
+    ATTRIBUTE_NONNULL(3);
d71922
 
d71922
 int virCgroupTerminateMachine(const char *name)
d71922
     ATTRIBUTE_NONNULL(1);
d71922
-- 
d71922
2.7.2
d71922