summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-03-15 14:43:14 +0100
committerKevin Wolf <kwolf@redhat.com>2016-03-17 15:47:56 +0100
commit23f7fcb2956cc094cae008100cb1cb1fe505d00a (patch)
treebd72b6e95372b68f98dad8f130436c5be1c763df
parent331ac65963ab74dd84659b748affa0b111486f06 (diff)
downloadfocaccia-qemu-23f7fcb2956cc094cae008100cb1cb1fe505d00a.tar.gz
focaccia-qemu-23f7fcb2956cc094cae008100cb1cb1fe505d00a.zip
block: Fix qemu_root_bds_opts.head initialisation
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
-rw-r--r--blockdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blockdev.c b/blockdev.c
index 322ca03908..e7b8676495 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -4221,7 +4221,7 @@ QemuOptsList qemu_common_drive_opts = {
 
 static QemuOptsList qemu_root_bds_opts = {
     .name = "root-bds",
-    .head = QTAILQ_HEAD_INITIALIZER(qemu_common_drive_opts.head),
+    .head = QTAILQ_HEAD_INITIALIZER(qemu_root_bds_opts.head),
     .desc = {
         {
             .name = "discard",