projects
/
qemu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cae4956
)
Fix typo
author
Paul Brook
<paul@codesourcery.com>
Sat, 6 Jun 2009 01:49:32 +0000
(
02:49
+0100)
committer
Paul Brook
<paul@codesourcery.com>
Sat, 6 Jun 2009 01:49:43 +0000
(
02:49
+0100)
Signed-off-by: Paul Brook <paul@codesourcery.com>
hw/qdev.c
patch
|
blob
|
history
diff --git
a/hw/qdev.c
b/hw/qdev.c
index
1023c6c
..
5175fe1
100644
(file)
--- a/
hw/qdev.c
+++ b/
hw/qdev.c
@@
-156,7
+156,7
@@
void qdev_set_prop_ptr(DeviceState *dev, const char *name, void *value)
{
DeviceProperty *prop;
- prop = create_prop(dev, name, PROP_TYPE_INT);
+ prop = create_prop(dev, name, PROP_TYPE_PTR);
prop->value.ptr = value;
}