mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
ioemu: fix spurious track_dirty_vram warning
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
This commit is contained in:
1 parent
597e548eef
commit
b5d7ddffa7
1 file changed
+2
-2
@@ -1548,8 +1548,8 @@ static void vga_draw_graphic(VGAState *s, int full_update)
|
||||
} else {
|
||||
/* ENODATA just means we have changed mode and will succeed
|
||||
* next time */
|
||||
if (err != -ENODATA)
|
||||
fprintf(stderr, "track_dirty_vram(%lx, %lx) failed (%d)\n", s->lfb_addr + y, npages, err);
|
||||
if (errno != ENODATA)
|
||||
fprintf(stderr, "track_dirty_vram(%lx, %lx) failed (%d, %d)\n", s->lfb_addr + y, npages, err, errno);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||