On Wed, Dec 03, 2008 at 02:14:24PM +0000, Mark McLoughlin wrote: > On Wed, 2008-12-03 at 11:14 -0200, Eduardo Habkost wrote: > > > + * Returns the MTU value in case of success. > > + * On error, returns -1 and sets errno accordingly > > + */ > > +static int ifGetMtu(brControl *ctl, const char *ifname) > > You could make this return -errno on error. No big deal, though. I was going to do that, but returning negative errno values didn't seem to an usual way of returning errors on libvirt. -- Eduardo -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list