Samuel Thibault
2008-Jul-23 17:27 UTC
[Xen-devel] [PATCH] ioemu: fix spurious track_dirty_vram warning
ioemu: fix spurious track_dirty_vram warning Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com> diff -r 70a43a82aaf1 tools/ioemu/hw/vga.c --- a/tools/ioemu/hw/vga.c Tue Jul 22 16:31:03 2008 +0100 +++ b/tools/ioemu/hw/vga.c Wed Jul 23 18:27:46 2008 +0100 @@ -1548,8 +1556,8 @@ } 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); } } _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel