[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] ioemu: fix spurious track_dirty_vram warning



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1216905166 -3600
# Node ID 707569df20e1680b803e58b2e4a4ee6d5a98824e
# Parent  16ba99f816a33eaf31c710fe372f46ad89155f1c
ioemu: fix spurious track_dirty_vram warning

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 tools/ioemu/hw/vga.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 16ba99f816a3 -r 707569df20e1 tools/ioemu/hw/vga.c
--- a/tools/ioemu/hw/vga.c      Thu Jul 24 14:11:47 2008 +0100
+++ b/tools/ioemu/hw/vga.c      Thu Jul 24 14:12:46 2008 +0100
@@ -1548,8 +1548,8 @@ static void vga_draw_graphic(VGAState *s
             } 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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.