From: Laine Stump Date: Fri, 12 Mar 2010 10:36:05 +0000 (+0100) Subject: Silence compiler complaints about non-literal format strings X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ca842a6bcb888f24cc9a37673eae2935d29def1a;p=libvirt.git Silence compiler complaints about non-literal format strings * src/util/macvtap.c: replace _("....") with "%s", _("...") in two places --- diff --git a/src/util/macvtap.c b/src/util/macvtap.c index 736cbaf034..999e670b4f 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; }