summaryrefslogtreecommitdiff
path: root/hw/xenfb.c
diff options
context:
space:
mode:
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 338800a4d9..ef24c3315c 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;