]> git.proxmox.com Git - mirror_lxc.git/commit
cgmanager: fix obvious braindeadnesses
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 16 Jan 2014 20:44:48 +0000 (14:44 -0600)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 16 Jan 2014 20:46:33 +0000 (14:46 -0600)
commitc0e0d2b299ce257296d7480cde2f40b159b1659c
tree7f0b815e4924874dfe4b29b446e0513836f6e2f5
parentc5afb6e455d9ec00af9f3399836152eaf9d0a4f5
cgmanager: fix obvious braindeadnesses

1. don't return bools for int-return functions
2. copy the filename to controller before using it
3. use full filename not just the key to pass to cgmanager

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/cgmanager.c