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

[Xen-changelog] [xen-unstable] mini-os: Fix a compilation error in xencons_ring when !HAVE_LIBC



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1260790695 0
# Node ID 4bde3bb310b4fd0a26d840e6873c398cdc2d2ee5
# Parent  23bc248302df09154b8808bc09cbf984ba07e6de
mini-os: Fix a compilation error in xencons_ring when !HAVE_LIBC

Signed-off-by: Yu Zhiguo <yuzg@xxxxxxxxxxxxxx>
---
 extras/mini-os/console/xencons_ring.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 23bc248302df -r 4bde3bb310b4 extras/mini-os/console/xencons_ring.c
--- a/extras/mini-os/console/xencons_ring.c     Mon Dec 14 09:51:07 2009 +0000
+++ b/extras/mini-os/console/xencons_ring.c     Mon Dec 14 11:38:15 2009 +0000
@@ -67,8 +67,8 @@ int xencons_ring_send(struct consfront_d
 
 static void handle_input(evtchn_port_t port, struct pt_regs *regs, void *data)
 {
-#ifdef HAVE_LIBC
        struct consfront_dev *dev = (struct consfront_dev *) data;
+#ifdef HAVE_LIBC
         int fd = dev ? dev->fd : -1;
 
         if (fd != -1)

_______________________________________________
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®.