diff options
| author | Paul Brook <paul@codesourcery.com> | 2009-06-06 02:49:32 +0100 |
|---|---|---|
| committer | Paul Brook <paul@codesourcery.com> | 2009-06-06 02:49:43 +0100 |
| commit | db241f403213807a3ab9ea9eb88649dcbf71dba4 (patch) | |
| tree | 6e8167beb6ce66d0ec44cdd492701b08a42546d6 /hw/qdev.c | |
| parent | cae4956e5efcd7898583627ea712923902384c55 (diff) | |
| download | focaccia-qemu-db241f403213807a3ab9ea9eb88649dcbf71dba4.tar.gz focaccia-qemu-db241f403213807a3ab9ea9eb88649dcbf71dba4.zip | |
Fix typo
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/qdev.c')
| -rw-r--r-- | hw/qdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/qdev.c b/hw/qdev.c index 1023c6c37a..5175fe17fd 100644 --- 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; } |