Commit bb87ece5 authored by Christoph Egger's avatar Christoph Egger Committed by Anthony Liguori
Browse files

tolower -> qemu_tolower



Use qemu_tolower() instead of tolower().
Fixes warning on NetBSD.

Signed-off-by: default avatarChristoph Egger <Christoph.Egger@amd.com>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
Message-Id: 
parent 0ff6697d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -520,7 +520,7 @@ BusState *qbus_create(BusInfo *info, DeviceState *parent, const char *name)
        len = snprintf(buf, len, "%s.%d", info->name,
                       parent ? parent->num_child_bus : 0);
        for (i = 0; i < len; i++)
            buf[i] = tolower(buf[i]);
            buf[i] = qemu_tolower(buf[i]);
        bus->name = buf;
    }