提交 6ce3acc1 编写于 作者: A Andrea Bolognani

util: Fix syntax-check

Broken by 759b4d1b.
Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
上级 759b4d1b
......@@ -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.
先完成此消息的编辑!
想要评论请 注册