projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ade04a7
)
tolower -> qemu_tolower
author
Christoph Egger
<Christoph.Egger@amd.com>
Thu, 30 Jul 2009 13:28:45 +0000
(15:28 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Mon, 10 Aug 2009 18:05:24 +0000
(13:05 -0500)
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:
hw/qdev.c
patch
|
blob
|
history
diff --git
a/hw/qdev.c
b/hw/qdev.c
index
9488dba
..
2a61e43
100644
(file)
--- 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;
}