Re: [libvirt] [PATCH] Silence compiler complaints about non-literal format strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 11, 2010 at 04:52:04PM -0500, Chris Lalancette wrote:
> On 03/11/2010 04:12 PM, Laine Stump wrote:
> > * src/util/macvtap.c: replace _("....") with "%s", _("...") in two places
> > ---
> >  src/util/macvtap.c |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/src/util/macvtap.c b/src/util/macvtap.c
> > index 736cbaf..999e670 100644
> > --- a/src/util/macvtap.c
> > +++ b/src/util/macvtap.c
> > @@ -435,13 +435,13 @@ link_add(virConnectPtr conn,
> >  
> >  malformed_resp:
> >      ReportError(conn, VIR_ERR_INTERNAL_ERROR,
> > -                _("malformed netlink response message"));
> > +                "%s", _("malformed netlink response message"));
> >      VIR_FREE(recvbuf);
> >      return -1;
> >  
> >  buffer_too_small:
> >      ReportError(conn, VIR_ERR_INTERNAL_ERROR,
> > -                _("internal buffer is too small"));
> > +                "%s", _("internal buffer is too small"));
> >      return -1;
> >  }
> >  
> 
> ACK

  yup, pushed ! thanks !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]