[lxc-devel] [lxc/lxc] c0e0d2: cgmanager: fix obvious braindeadnesses

GitHub noreply at github.com
Thu Jan 16 20:46:45 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: c0e0d2b299ce257296d7480cde2f40b159b1659c
      https://github.com/lxc/lxc/commit/c0e0d2b299ce257296d7480cde2f40b159b1659c
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-16 (Thu, 16 Jan 2014)

  Changed paths:
    M src/lxc/cgmanager.c

  Log Message:
  -----------
  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 at ubuntu.com>




More information about the lxc-devel mailing list