]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
cgroup_copy_with_slash: two typos
authorIvana Hutarova Varekova <varekova@redhat.com>
Wed, 9 Oct 2013 09:39:47 +0000 (11:39 +0200)
committerIvana Hutarova Varekova <varekova@redhat.com>
Wed, 9 Oct 2013 09:39:47 +0000 (11:39 +0200)
commit424b5d509fdddbdeda626bb2395032ece2e3e723
tree2e9a6cfc90db889b177833d9cb0bd79fc7dbf6c2
parent7d9705a5ca92ea25ceab780200109b60e0d27d6e
cgroup_copy_with_slash: two typos

Fix a typo when the '/' character is tested on the last but one position instead of the last.
There have to be more allocated more memory in the same function.

Signed-off-by: Ivana Hutarova Varekova <varekova@redhat.com>
Acked-by: Peter Schiffer <pschiffe@redhat.com>
Acked-by: Dhaval Giani <dhaval.giani@gmail.com>
src/api.c