|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] mini-os: Fix a compilation error in xenco
# 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
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] mini-os: Fix a compilation error in xencons_ring when !HAVE_LIBC,
Xen patchbot-unstable <=
|
Previous by Date: |
[Xen-changelog] [xen-unstable] mini-os: Fix memory leaks in blkfront, netfront, pcifront, etc., Xen patchbot-unstable |
Next by Date: |
[Xen-changelog] [xen-unstable] xen-detect: Avoid dumping core, Xen patchbot-unstable |
Previous by Thread: |
[Xen-changelog] [xen-unstable] mini-os: Fix memory leaks in blkfront, netfront, pcifront, etc., Xen patchbot-unstable |
Next by Thread: |
[Xen-changelog] [xen-unstable] xen-detect: Avoid dumping core, Xen patchbot-unstable |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|
|
|