[libvirt] [PATCH 3/6] conf: Make switch statements more strict

Andrea Bolognani abologna at redhat.com
Wed Feb 22 15:27:56 UTC 2017


On Wed, 2017-02-22 at 09:40 -0500, Laine Stump wrote:
[...]
> >           virReportError(VIR_ERR_INTERNAL_ERROR,
> > -                       _("Invalid PCI controller model %d"), model);
> > +                       _("PCI controller model was not set correctly"));
> 
> You're going to need to precede the string with "%s", to avoid a 
> syntax-check failure.

I somehow forgot to run the usual "check && syntax-check"
loop before submitting the series, thanks for spotting this!

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list