From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjQFu-0000U4-N2 for qemu-devel@nongnu.org; Wed, 20 Jul 2011 02:27:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QjQFt-000240-AJ for qemu-devel@nongnu.org; Wed, 20 Jul 2011 02:27:38 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:46877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjQFt-00023k-5k for qemu-devel@nongnu.org; Wed, 20 Jul 2011 02:27:37 -0400 From: Stefan Weil Date: Wed, 20 Jul 2011 08:27:28 +0200 Message-Id: <1311143248-29509-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH] virtio-9p: Fix syntax error in debug code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Aneesh Kumar K.V" This error was reported by cppcheck: qemu/hw/9pfs/virtio-9p-debug.c:342: error: Invalid number of character ({) when these macros are defined: 'DEBUG_DATA'. Cc: Aneesh Kumar K.V Signed-off-by: Stefan Weil --- hw/9pfs/virtio-9p-debug.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/9pfs/virtio-9p-debug.c b/hw/9pfs/virtio-9p-debug.c index 4636ad5..96925f0 100644 --- a/hw/9pfs/virtio-9p-debug.c +++ b/hw/9pfs/virtio-9p-debug.c @@ -295,7 +295,7 @@ static void pprint_data(V9fsPDU *pdu, int rx, size_t *offsetp, const char *name) if (rx) { count = pdu->elem.in_num; - } else + } else { count = pdu->elem.out_num; } -- 1.7.2.5