提交 abb70bb3 编写于 作者: A Andrea Bolognani 提交者: Cole Robinson

util: Fix syntax-check

Broken by 759b4d1b.
Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
(cherry picked from commit 6ce3acc1)
上级 3aadeae9
......@@ -478,9 +478,8 @@ virLogHostnameString(char **rawmsg,
if (!virLogHostname)
return -1;
if (virAsprintfQuiet(&hoststr, "hostname: %s", virLogHostname) < 0) {
if (virAsprintfQuiet(&hoststr, "hostname: %s", virLogHostname) < 0)
return -1;
}
if (virLogFormatString(msg, 0, NULL, VIR_LOG_INFO, hoststr) < 0) {
VIR_FREE(hoststr);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册