mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
Silence compiler complaints about non-literal format strings
* src/util/macvtap.c: replace _("....") with "%s", _("...") in two places
This commit is contained in:
parent
f60e0150b8
commit
ca842a6bcb
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user