提交 45dc5a14 编写于 作者: L Laine Stump

remote_driver.c: fix non-literal format strings w/o args

上级 5b04f42c
...@@ -8481,7 +8481,7 @@ remoteStreamEventAddCallback(virStreamPtr st, ...@@ -8481,7 +8481,7 @@ remoteStreamEventAddCallback(virStreamPtr st,
if (privst->cb) { if (privst->cb) {
remoteError(VIR_ERR_INTERNAL_ERROR, remoteError(VIR_ERR_INTERNAL_ERROR,
_("multiple stream callbacks not supported")); "%s", _("multiple stream callbacks not supported"));
goto cleanup; goto cleanup;
} }
...@@ -8521,7 +8521,7 @@ remoteStreamEventUpdateCallback(virStreamPtr st, ...@@ -8521,7 +8521,7 @@ remoteStreamEventUpdateCallback(virStreamPtr st,
if (!privst->cb) { if (!privst->cb) {
remoteError(VIR_ERR_INTERNAL_ERROR, remoteError(VIR_ERR_INTERNAL_ERROR,
_("no stream callback registered")); "%s", _("no stream callback registered"));
goto cleanup; goto cleanup;
} }
...@@ -8548,7 +8548,7 @@ remoteStreamEventRemoveCallback(virStreamPtr st) ...@@ -8548,7 +8548,7 @@ remoteStreamEventRemoveCallback(virStreamPtr st)
if (!privst->cb) { if (!privst->cb) {
remoteError(VIR_ERR_INTERNAL_ERROR, remoteError(VIR_ERR_INTERNAL_ERROR,
_("no stream callback registered")); "%s", _("no stream callback registered"));
goto cleanup; goto cleanup;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册