Revision bb87ece5

b/hw/qdev.c
520 520
        len = snprintf(buf, len, "%s.%d", info->name,
521 521
                       parent ? parent->num_child_bus : 0);
522 522
        for (i = 0; i < len; i++)
523
            buf[i] = tolower(buf[i]);
523
            buf[i] = qemu_tolower(buf[i]);
524 524
        bus->name = buf;
525 525
    }
526 526

  

Also available in: Unified diff