]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cgroup: preserve correct errno on failure
authorEric Blake <eblake@redhat.com>
Tue, 15 Feb 2011 23:50:34 +0000 (16:50 -0700)
committerEric Blake <eblake@redhat.com>
Wed, 16 Feb 2011 15:10:30 +0000 (08:10 -0700)
commit76c57a7c1d2fd02de67500b607a1b5af6bc669c3
treee0fd13598e535aecd0e674581c26db5523009512
parent00c9cf50c6d8ee587c264853d07c9823d3e30824
cgroup: preserve correct errno on failure

* src/util/cgroup.c (virCgroupSetValueStr, virCgroupGetValueStr)
(virCgroupRemoveRecursively): VIR_DEBUG can clobber errno.
(virCgroupRemove): Use VIR_DEBUG rather than DEBUG.
src/util/cgroup.c