[PATCH 1/3] qemu: correct the ret value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Set the return value to 0 when everything work as expected

Signed-off-by: Luyao Huang <lhuang@xxxxxxxxxx>
---
 src/qemu/qemu_process.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index 93fd6ba..631254d 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -5842,6 +5842,7 @@ qemuProcessSEVCreateFile(const char *configDir,
         goto cleanup;
     }
 
+    ret = 0;
  cleanup:
     VIR_FREE(configFile);
     return ret;
-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux