diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-06-04 11:46:35 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-11-01 13:10:05 +0100 |
commit | 87e487a14bd9f3fb4a2b27179377e011bdda7c51 (patch) | |
tree | 9cc8a4d4ad326eb7b242fc72e8c2021fffb4b059 /hw | |
parent | 286d52ebfc0d0d53c2a878e454292fea14bad41b (diff) | |
download | qemu-87e487a14bd9f3fb4a2b27179377e011bdda7c51.zip |
console: QLIST-ify display change listeners.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xenfb.c | 2 |
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; |