mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
avoid format-related warnings
* src/conf/domain_conf.c (virDomainDeviceInfoParseXML): Use "%s".
This commit is contained in:
parent
6512d09cf8
commit
dfff67c082
@ -1118,7 +1118,7 @@ virDomainDeviceInfoParseXML(virConnectPtr conn,
|
||||
}
|
||||
} else {
|
||||
virDomainReportError(conn, VIR_ERR_INTERNAL_ERROR,
|
||||
_("No type specified for device address"));
|
||||
"%s", _("No type specified for device address"));
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
@ -1136,7 +1136,7 @@ virDomainDeviceInfoParseXML(virConnectPtr conn,
|
||||
default:
|
||||
/* Should not happen */
|
||||
virDomainReportError(conn, VIR_ERR_INTERNAL_ERROR,
|
||||
_("Unknown device address type"));
|
||||
"%s", _("Unknown device address type"));
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user