From: John Ferlan Date: Sat, 6 Feb 2016 11:45:46 +0000 (-0500) Subject: util: Fix virCgroupNewMachine ATTRIBUTE_NONNULL args X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b8c0f186543c01cbda95c7251a0a992823764df5;p=libvirt.git util: Fix virCgroupNewMachine ATTRIBUTE_NONNULL args Commit id 'c3bd0019c0' removed arg3, but forgot to adjust the numbers for NONNULL - caused build failure for coverity --- 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);