mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
util: Fix syntax-check
Broken by 759b4d1b0f.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
@@ -478,9 +478,8 @@ virLogHostnameString(char **rawmsg,
|
|||||||
if (!virLogHostname)
|
if (!virLogHostname)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
if (virAsprintfQuiet(&hoststr, "hostname: %s", virLogHostname) < 0) {
|
if (virAsprintfQuiet(&hoststr, "hostname: %s", virLogHostname) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
|
||||||
|
|
||||||
if (virLogFormatString(msg, 0, NULL, VIR_LOG_INFO, hoststr) < 0) {
|
if (virLogFormatString(msg, 0, NULL, VIR_LOG_INFO, hoststr) < 0) {
|
||||||
VIR_FREE(hoststr);
|
VIR_FREE(hoststr);
|
||||||
|
|||||||
Reference in New Issue
Block a user