Re: [lxc-devel] [PATCH 2/2] cgroup.h: unify the nameing and comments

2014-01-15 Thread Stéphane Graber
On Wed, Jan 15, 2014 at 11:32:30PM +0800, Qiang Huang wrote:
> From: Qiang Huang 
> 
> Signed-off-by: Qiang Huang 

Acked-by: Stéphane Graber 

> ---
>  src/lxc/cgroup.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/lxc/cgroup.h b/src/lxc/cgroup.h
> index 3aab12d..a252123 100644
> --- a/src/lxc/cgroup.h
> +++ b/src/lxc/cgroup.h
> @@ -155,7 +155,7 @@ extern int lxc_cgroup_get(const char *filename, char 
> *value, size_t len, const c
>   * Returns path on success, NULL on error. The caller must free()
>   * the returned path.
>   */
> -extern char *lxc_cgroup_path_get(const char *subsystem, const char *name,
> +extern char *lxc_cgroup_path_get(const char *filename, const char *name,
>   const char *lxcpath);
> 
>  struct lxc_list;
> -- 
> 1.8.3.2

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com


signature.asc
Description: Digital signature
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH 2/2] cgroup.h: unify the nameing and comments

2014-01-15 Thread Qiang Huang
From: Qiang Huang 

Signed-off-by: Qiang Huang 
---
 src/lxc/cgroup.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lxc/cgroup.h b/src/lxc/cgroup.h
index 3aab12d..a252123 100644
--- a/src/lxc/cgroup.h
+++ b/src/lxc/cgroup.h
@@ -155,7 +155,7 @@ extern int lxc_cgroup_get(const char *filename, char 
*value, size_t len, const c
  * Returns path on success, NULL on error. The caller must free()
  * the returned path.
  */
-extern char *lxc_cgroup_path_get(const char *subsystem, const char *name,
+extern char *lxc_cgroup_path_get(const char *filename, const char *name,
  const char *lxcpath);

 struct lxc_list;
-- 
1.8.3.2
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel