]> git.ipfire.org Git - thirdparty/libvirt.git/commit
macvtap: Fix error return value convention/inconsistencies
authorRoopa Prabhu <roprabhu@cisco.com>
Fri, 28 Oct 2011 22:04:07 +0000 (15:04 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 28 Oct 2011 22:47:28 +0000 (16:47 -0600)
commit228a9ec312808a07c074e8d1b3f0f3d6776433d3
tree45e6a798df4e6bea1689c75a91162a8ad5ea5916
parent7e02076624950e55593293114b23d0e133cf72b4
macvtap: Fix error return value convention/inconsistencies

- changed some return 1's to return -1
- changed if (rc) error checks to if (rc < 0)
- fixed some other minor convention violations

I might have missed some. Can fix in another patch or can respin

Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Reported-by: Eric Blake <eblake@redhat.com>
Reported-by: Laine Stump <laine@laine.org>
Signed-off-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_migration.c
src/util/interface.c
src/util/macvtap.c
src/util/pci.c