mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
src: security: Replace bitwise OR with logical OR
Typo introduced by commit d73f3f5836
.
https://bugzilla.redhat.com/show_bug.cgi?id=1738483
Signed-off-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
76c4de66ad
commit
5801ef06ec
@ -268,7 +268,7 @@ virSecurityMoveRememberedLabel(const char *name,
|
|||||||
VIR_AUTOFREE(char *) attr_name = NULL;
|
VIR_AUTOFREE(char *) attr_name = NULL;
|
||||||
VIR_AUTOFREE(char *) attr_value = NULL;
|
VIR_AUTOFREE(char *) attr_value = NULL;
|
||||||
|
|
||||||
if (!(ref_name = virSecurityGetRefCountAttrName(name)) |
|
if (!(ref_name = virSecurityGetRefCountAttrName(name)) ||
|
||||||
!(attr_name = virSecurityGetAttrName(name)))
|
!(attr_name = virSecurityGetAttrName(name)))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user