libvirt/po
Ryota Ozaki 938f2dbd9e lxc: Fix return values of veth.c functions
Previously, the functions in src/lxc/veth.c could sometimes return
positive values on failure rather than -1. This made accurate error
reporting difficult, and led to one failure to catch an error in a
calling function.

This patch makes all the functions in veth.c consistently return 0 on
success, and -1 on failure. It also fixes up the callers to the veth.c
functions where necessary.

Note that this patch may be related to the bug:

  https://bugzilla.redhat.com/show_bug.cgi?id=607496.

It will not fix the bug, but should unveil what happens.

* po/POTFILES.in - add veth.c, which previously had no translatable strings
* src/lxc/lxc_controller.c
* src/lxc/lxc_container.c
* src/lxc/lxc_driver.c    - fixup callers to veth.c, and remove error logs,
                            as they are now done in veth.c
* src/lxc/veth.c - make all functions consistently return -1 on error.
* src/lxc/veth.h - use ATTRIBUTE_NONNULL to protect against NULL args.
2010-07-29 14:08:35 -04:00
..
.gitignore maint: sort .gitignore 2010-02-23 21:32:04 +01:00
af.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
am.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
ar.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
as.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
be.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
bg.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
bn_IN.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
bn.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
bs.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
ca.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
cs.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
cy.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
da.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
de.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
el.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
en_GB.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
es.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
et.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
eu_ES.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
fa.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
fi.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
fr.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
gl.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
gu.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
he.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
hi.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
hr.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
hu.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
hy.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
id.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
is.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
it.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
ja.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
ka.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
kn.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
ko.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
ku.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
libvirt.pot Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
lo.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
lt.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
lv.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
mk.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
ml.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
mr.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
ms.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
my.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
nb.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
nl.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
nn.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
nso.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
or.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
pa.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
pl.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
POTFILES.in lxc: Fix return values of veth.c functions 2010-07-29 14:08:35 -04:00
pt_BR.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
pt.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
ro.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
ru.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
si.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
sk.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
sl.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
sq.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
sr.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
sr@latin.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
sv.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
ta.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
te.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
th.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
tr.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
uk.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
ur.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
vi.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
zh_CN.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
zh_TW.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00
zu.po Release of libvirt-0.8.2 2010-07-05 17:29:25 +02:00