[snip] > - r = gethostname(virLogHostname, sizeof(virLogHostname)); > - if (r == -1) { > - ignore_value(virStrcpyStatic(virLogHostname, "(unknown)")); > - } else { > - NUL_TERMINATE(virLogHostname); > - } > + (void)g_get_host_name(); Why not use ignore_return() here? [snip] -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list