aboutsummaryrefslogtreecommitdiff
path: root/hw/xenfb.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-06-04 11:46:35 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-11-01 13:10:05 +0100
commit87e487a14bd9f3fb4a2b27179377e011bdda7c51 (patch)
tree9cc8a4d4ad326eb7b242fc72e8c2021fffb4b059 /hw/xenfb.c
parent286d52ebfc0d0d53c2a878e454292fea14bad41b (diff)
downloadqemu-87e487a14bd9f3fb4a2b27179377e011bdda7c51.zip
qemu-87e487a14bd9f3fb4a2b27179377e011bdda7c51.tar.gz
qemu-87e487a14bd9f3fb4a2b27179377e011bdda7c51.tar.bz2
console: QLIST-ify display change listeners.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/xenfb.c')
-rw-r--r--hw/xenfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xenfb.c b/hw/xenfb.c
index 338800a..ef24c33 100644
--- a/hw/xenfb.c
+++ b/hw/xenfb.c
@@ -717,7 +717,7 @@ static void xenfb_update(void *opaque)
if (xenfb_queue_full(xenfb))
return;
- for (l = xenfb->c.ds->listeners; l != NULL; l = l->next) {
+ QLIST_FOREACH(l, &xenfb->c.ds->listeners, next) {
if (l->idle)
continue;
idle = 0;