]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
virCgroupAddTaskStrController: s/-1/-ENOMEM/
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 24 May 2013 07:49:54 +0000 (09:49 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 24 May 2013 08:03:22 +0000 (10:03 +0200)
commitb43bb98a3146e34bd2734d772f2deb69d93251b0
tree3d22795198f27597ef81452db788fe4953cd2cdc
parent677981d1be6304e79385ecbd7e16f01d54e8836e
virCgroupAddTaskStrController: s/-1/-ENOMEM/

Within whole vircgroup.c we 'return -errno', e.g. 'return -ENOMEM'.
However, in this specific function virCgroupAddTaskStrController
we weren't returning -ENOMEM but -1 despite fact that later in
the function we are returning one of errno values indeed.
src/util/vircgroup.c