WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] ioemu-remote/qemu-char.c: fix incorrect CONFIG_STUBDOM handling
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Tue, 21 Jun 2011 19:25:19 +0200
Delivery-date: Tue, 21 Jun 2011 10:26:26 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1308677120; l=601; s=domk; d=aepfle.de; h=Content-Type:MIME-Version:Subject:To:From:Date:X-RZG-CLASS-ID: X-RZG-AUTH; bh=xNGnD2edgRyRYW4KVquBvWzYr50=; b=hCVXObfoaP+mfv3FXA0rnbcqJrzsvBk88VcQM+xXgL8HQcFv9RTYlYnKxrK+RIOFr4r oSX25jeqJiMRC0H1hRLPDQ4lPH4E2KHwOGSTRYK/kIlu4JTRGEDuCDi9VSAI3fPbxI063 CAt2vgTid+86Wyk9/gAbpqBBRq0qs1ZVdBU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-12-30)
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

<Prev in Thread] Current Thread [Next in Thread>