]> git.ipfire.org Git - thirdparty/libvirt.git/commit
avoid calling exit with a constant; use EXIT_* instead
authorJim Meyering <meyering@redhat.com>
Tue, 15 Dec 2009 08:43:29 +0000 (09:43 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 15 Dec 2009 16:46:04 +0000 (17:46 +0100)
commit2e5efc3d6e8293f9cc3be6cc17b124910d8c04e3
tree3c954cd82908d971c5f4b0b3b45f928f198be356
parente7c8ab8f0e625fc9a311df8817956c77e552a206
avoid calling exit with a constant; use EXIT_* instead

This appeases a new gnulib-provided "syntax-check".
* daemon/libvirtd.c (main): Use EXIT_FAILURE, not 1.
* proxy/libvirt_proxy.c (main): Likewise, and EXIT_SUCCESS, not 0.
* tests/conftest.c (main): Likewise.
* tests/reconnect.c (main): Likewise.
* tests/testutils.h (EXIT_AM_SKIP): Define.
* tests/nodeinfotest.c (mymain): Use EXIT_AM_SKIP, not 77.
* tests/qemuargv2xmltest.c: Likewise.
* tests/qemuxml2xmltest.c: Likewise.
* tests/virshtest.c (mymain): Likewise.
daemon/libvirtd.c
proxy/libvirt_proxy.c
tests/conftest.c
tests/nodeinfotest.c
tests/qemuargv2xmltest.c
tests/qemuxml2xmltest.c
tests/reconnect.c
tests/testutils.h
tests/virshtest.c