Silence compiler complaints about non-literal format strings

* src/util/macvtap.c: replace _("....") with "%s", _("...") in two places
This commit is contained in:
Laine Stump 2010-03-12 11:36:05 +01:00 committed by Daniel Veillard
parent f60e0150b8
commit ca842a6bcb

View File

@ -435,13 +435,13 @@ link_add(virConnectPtr conn,
malformed_resp: malformed_resp:
ReportError(conn, VIR_ERR_INTERNAL_ERROR, ReportError(conn, VIR_ERR_INTERNAL_ERROR,
_("malformed netlink response message")); "%s", _("malformed netlink response message"));
VIR_FREE(recvbuf); VIR_FREE(recvbuf);
return -1; return -1;
buffer_too_small: buffer_too_small:
ReportError(conn, VIR_ERR_INTERNAL_ERROR, ReportError(conn, VIR_ERR_INTERNAL_ERROR,
_("internal buffer is too small")); "%s", _("internal buffer is too small"));
return -1; return -1;
} }