[libvirt] [PATCH 1/6] virCgroupNewPartition: Fix comment

Michal Privoznik mprivozn at redhat.com
Fri Mar 27 14:26:49 UTC 2015


The function has no argument named @name rather than @path
instead.  The comment is, however, referring to @name while it
should have been referring to @path really.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 src/util/vircgroup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c
index 0a2e729..660f840 100644
--- a/src/util/vircgroup.c
+++ b/src/util/vircgroup.c
@@ -1290,7 +1290,7 @@ virCgroupSetPartitionSuffix(const char *path, char **res)
  * @controllers: mask of controllers to create
  *
  * Creates a new cgroup to represent the resource
- * partition path identified by @name.
+ * partition path identified by @path.
  *
  * Returns 0 on success, -1 on failure
  */
-- 
2.0.5




More information about the libvir-list mailing list