mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
Add _(...) around two error messages in src/util/
The virnetdevtap.c and viruri.c files had two error report messages which were not annotated with _(...) Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
7e94acd4fc
commit
7b5031b952
@ -151,6 +151,7 @@ src/util/virterror.c
|
||||
src/util/virterror_internal.h
|
||||
src/util/virtime.c
|
||||
src/util/virtypedparam.c
|
||||
src/util/viruri.c
|
||||
src/util/xml.c
|
||||
src/vbox/vbox_MSCOMGlue.c
|
||||
src/vbox/vbox_XPCOMCGlue.c
|
||||
|
@ -306,8 +306,8 @@ int virNetDevTapCreateInBridgePort(const char *brname,
|
||||
* address" error logs from the kernel.
|
||||
*/
|
||||
virNetDevTapError(VIR_ERR_CONFIG_UNSUPPORTED,
|
||||
"Unable to use MAC address starting with "
|
||||
"reserved value 0xFE - '%02X:%02X:%02X:%02X:%02X:%02X' - ",
|
||||
_("Unable to use MAC address starting with "
|
||||
"reserved value 0xFE - '%02X:%02X:%02X:%02X:%02X:%02X' - "),
|
||||
macaddr->addr[0], macaddr->addr[1],
|
||||
macaddr->addr[2], macaddr->addr[3],
|
||||
macaddr->addr[4], macaddr->addr[5]);
|
||||
|
@ -156,7 +156,7 @@ virURIParse(const char *uri)
|
||||
if (!xmluri) {
|
||||
/* libxml2 does not tell us what failed. Grr :-( */
|
||||
virURIReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
"Unable to parse URI %s", uri);
|
||||
_("Unable to parse URI %s"), uri);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user