ioemu: fix spurious track_dirty_vram warning

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
This commit is contained in:
Keir Fraser committed 2008-07-24 14:12:46 +01:00
1 parent 597e548eef
commit b5d7ddffa7
1 file changed
+2 -2
+2 -2
View File
@@ -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);
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.