]> xenbits.xensource.com Git - libvirt.git/commitdiff
Silence compiler complaints about non-literal format strings
authorLaine Stump <laine@laine.org>
Fri, 12 Mar 2010 10:36:05 +0000 (11:36 +0100)
committerDaniel Veillard <veillard@redhat.com>
Fri, 12 Mar 2010 10:36:05 +0000 (11:36 +0100)
* src/util/macvtap.c: replace _("....") with "%s", _("...") in two places

src/util/macvtap.c

index 736cbaf0349e290bc09c74300ec1ee80ae22cb25..999e670b4feb0e62d20f67b638a65428a542a78b 100644 (file)
@@ -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;
 }