Skip to contentSkip to conversation

ioemu-remote/qemu-char.c: fix incorrect CONFIG_STUBDOM handling

PATCH Applied Olaf Hering 2 participants 2 messages Jun 21, 2011 – Jun 28, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ioemu-remote/qemu-char.c: fix incorrect CONFIG_STUBDOM handling

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

---
 qemu-char.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qemu-char.c +1 -1
Index: 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)
 {
Applied
#1 lore raw

Olaf Hering writes ("[Xen-devel] [PATCH] ioemu-remote/qemu-char.c: fix incorrect CONFIG_STUBDOM handling"):

Quoted 1 line

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

Applied, thanks.

Ian.