From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mw90B-00040j-O5 for qemu-devel@nongnu.org; Fri, 09 Oct 2009 02:30:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mw904-0003pZ-B5 for qemu-devel@nongnu.org; Fri, 09 Oct 2009 02:30:53 -0400 Received: from [199.232.76.173] (port=55744 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mw904-0003oz-0b for qemu-devel@nongnu.org; Fri, 09 Oct 2009 02:30:48 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:36127) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mw901-0001Ok-Oc for qemu-devel@nongnu.org; Fri, 09 Oct 2009 02:30:46 -0400 From: Isaku Yamahata Date: Fri, 9 Oct 2009 15:28:34 +0900 Message-Id: <1255069742-15724-2-git-send-email-yamahata@valinux.co.jp> In-Reply-To: <1255069742-15724-1-git-send-email-yamahata@valinux.co.jp> References: <1255069742-15724-1-git-send-email-yamahata@valinux.co.jp> Subject: [Qemu-devel] [PATCH V5 01/29] pci: fix PCI_DPRINTF() wrt variadic macro. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, mst@redhat.com Cc: yamahata@valinux.co.jp add missing ## in PCI_DPRINTF() to compile. Signed-off-by: Isaku Yamahata Acked-by: Michael S. Tsirkin --- hw/pci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index 49651d0..9fd2c38 100644 --- a/hw/pci.c +++ b/hw/pci.c @@ -29,7 +29,7 @@ //#define DEBUG_PCI #ifdef DEBUG_PCI -# define PCI_DPRINTF(format, ...) printf(format, __VA_ARGS__) +# define PCI_DPRINTF(format, ...) printf(format, ## __VA_ARGS__) #else # define PCI_DPRINTF(format, ...) do { } while (0) #endif -- 1.6.0.2