aboutsummaryrefslogtreecommitdiff
path: root/backends/vhost-user.c
diff options
context:
space:
mode:
Diffstat (limited to 'backends/vhost-user.c')
-rw-r--r--backends/vhost-user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/vhost-user.c b/backends/vhost-user.c
index 2bf3406525..9e6e198546 100644
--- a/backends/vhost-user.c
+++ b/backends/vhost-user.c
@@ -177,7 +177,7 @@ static char *get_chardev(Object *obj, Error **errp)
static void vhost_user_backend_init(Object *obj)
{
- object_property_add_str(obj, "chardev", get_chardev, set_chardev, NULL);
+ object_property_add_str(obj, "chardev", get_chardev, set_chardev);
}
static void vhost_user_backend_finalize(Object *obj)