[libvirt] [PATCH v2 01/11] Check return status for virUUIDGenerate

Peter Krempa pkrempa at redhat.com
Tue Apr 24 06:43:07 UTC 2018


On Mon, Apr 23, 2018 at 19:59:55 -0400, John Ferlan wrote:
> Although legal, a few paths were not checking a return value < 0
> for failure instead they checked a non zero failure.
> 
> Clean them all up to be consistent.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/conf/domain_conf.c     | 2 +-
>  src/conf/network_conf.c    | 2 +-
>  src/conf/secret_conf.c     | 2 +-
>  src/openvz/openvz_conf.c   | 2 +-
>  src/xenconfig/xen_common.c | 2 +-
>  5 files changed, 5 insertions(+), 5 deletions(-)

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180424/346ccd4d/attachment-0001.sig>


More information about the libvir-list mailing list