提交 dfff67c0 编写于 作者: J Jim Meyering

avoid format-related warnings

* src/conf/domain_conf.c (virDomainDeviceInfoParseXML): Use "%s".
上级 6512d09c
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册