avoid format-related warnings

* src/conf/domain_conf.c (virDomainDeviceInfoParseXML): Use "%s".
This commit is contained in:
Jim Meyering 2010-01-21 14:39:42 +01:00
parent 6512d09cf8
commit dfff67c082

View File

@ -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;
}