]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security_dac: check if virSecurityDACGetIds returns negative
authorJán Tomko <jtomko@redhat.com>
Fri, 20 Nov 2015 07:26:00 +0000 (08:26 +0100)
committerJán Tomko <jtomko@redhat.com>
Wed, 9 Dec 2015 09:44:26 +0000 (10:44 +0100)
commit63cc969a845cf633d45df96a7fe7f79ee461cb7e
treeeff0fee15b65fd018e4d2da8d21a3f8fd88fd05f
parentd0daa5efad8b9bee27702625f96f9af4c4cf899f
security_dac: check if virSecurityDACGetIds returns negative

Use the customary check '< 0' instead of checking for non-zero.

No functional change.
src/security/security_dac.c