]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Make virResctrlGetCacheControlType() behave like other functions
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 2 Aug 2017 11:33:04 +0000 (13:33 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 14 Aug 2017 08:01:12 +0000 (10:01 +0200)
commit7c4b4f89051f27cd9a50ccdd1e6344bf2a8368ca
tree7ffd877f7925dc6e590aa0d9b54655f4e946a3c0
parentaf4270400ad17b819e3e1f3412b2ad7a7c5e9373
util: Make virResctrlGetCacheControlType() behave like other functions

That means that returning negative values means error and non-negative
values differ in meaning, but are all successful.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/conf/capabilities.c
src/util/virresctrl.c