ioemu: fix spurious track_dirty_vram warning
Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|