[PATCH 0/1] Checking the value returned by the function

Sergey Mironov posted 1 patch 6 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20231011122417.581121-1-mironov@fintech.ru
src/security/security_selinux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH 0/1] Checking the value returned by the function
Posted by Sergey Mironov 6 months, 3 weeks ago
The code compares the value of the variable 'ret' with 1. I assume that it is necessary to compare the value of 'ret' with -1 in this code fragment.

Sergey Mironov (1):
  Checking the value returned by the function

 src/security/security_selinux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.31.1