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

[Xen-devel] [PATCH] ioemu-remote/qemu-char.c: fix incorrect CONFIG_STUBDOM handling


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Tue, 21 Jun 2011 19:25:19 +0200
  • Delivery-date: Tue, 21 Jun 2011 10:26:26 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

qemu-char.c:1123:7: warning: "CONFIG_STUBDOM" is not defined [-Wundef]

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

---
 qemu-char.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: ioemu-remote/qemu-char.c
===================================================================
--- ioemu-remote.orig/qemu-char.c
+++ ioemu-remote/qemu-char.c
@@ -1120,7 +1120,7 @@ static CharDriverState *qemu_chr_open_tt
     qemu_chr_reset(chr);
     return chr;
 }
-#elif CONFIG_STUBDOM
+#elif defined(CONFIG_STUBDOM)
 #include <fcntl.h>
 static CharDriverState *qemu_chr_open_pty(void)
 {

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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