]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
virCgroupNewPartition: Fix comment
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 27 Mar 2015 10:24:16 +0000 (11:24 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 30 Mar 2015 13:20:20 +0000 (15:20 +0200)
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@redhat.com>
src/util/vircgroup.c

index 7c594280e606507ffb8375c1c8f705b33163ae37..cc67f151b81705cced5a76d41842c0a0bf053994 100644 (file)
@@ -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
  */