This field is unused.
Signed-off-by: Daniel Lezcano <[email protected]>
---
src/lxc/cgroup.c | 2 +-
src/lxc/start.h | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c
index cc57e71..96a8ecd 100644
--- a/src/lxc/cgroup.c
+++ b/src/lxc/cgroup.c
@@ -88,7 +88,7 @@ out:
int lxc_rename_nsgroup(const char *name, struct lxc_handler *handler)
{
char oldname[MAXPATHLEN];
- char *newname = handler->nsgroup;
+ char newname[MAXPATHLEN];
char cgroup[MAXPATHLEN];
int ret;
diff --git a/src/lxc/start.h b/src/lxc/start.h
index 1122aad..4009e1d 100644
--- a/src/lxc/start.h
+++ b/src/lxc/start.h
@@ -40,7 +40,6 @@ struct lxc_handler {
char *name;
lxc_state_t state;
int sigfd;
- char nsgroup[MAXPATHLEN];
sigset_t oldmask;
struct lxc_conf *conf;
struct lxc_operations *ops;
--
1.7.0.4
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Lxc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-devel