Revision 8f477478

b/qemu-ga.c
146 146
    }
147 147

  
148 148
    level &= G_LOG_LEVEL_MASK;
149
    if (g_strcmp0(domain, "syslog") == 0) {
149
    if (domain && strcmp(domain, "syslog") == 0) {
150 150
        syslog(LOG_INFO, "%s: %s", level_str, msg);
151 151
    } else if (level & s->log_level) {
152 152
        g_get_current_time(&time);

Also available in: Unified diff