All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ioemu: fix spurious track_dirty_vram warning
@ 2008-07-23 17:27 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2008-07-23 17:27 UTC (permalink / raw)
  To: xen-devel

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);
             }
         }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-23 17:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-23 17:27 [PATCH] ioemu: fix spurious track_dirty_vram warning Samuel Thibault

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.