aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Egger <Christoph.Egger@amd.com>2009-07-30 15:28:45 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:05:24 -0500
commitbb87ece518e5ae0f7309b4f1758ee9d1c7a56b74 (patch)
tree4faee96f668b27676e0e3a02eee275043c8c9887
parent0ff6697d1c1bc09fa73236be6f72ddccd6aa9279 (diff)
tolower -> qemu_tolower
Use qemu_tolower() instead of tolower(). Fixes warning on NetBSD. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
-rw-r--r--hw/qdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/qdev.c b/hw/qdev.c
index 9488dba33f..2a61e43a19 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -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;
}