[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 7/8] virtio-9p: Fix syntax error in debug code
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 7/8] virtio-9p: Fix syntax error in debug code |
Date: |
Fri, 9 Sep 2011 10:24:14 +0100 |
From: Stefan Weil <address@hidden>
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 <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
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.5.4
- [Qemu-devel] [PULL 0/8] Trivial patches for September 3 to 9 2011, Stefan Hajnoczi, 2011/09/09
- [Qemu-devel] [PATCH 2/8] configure: Remove relicts from --enable-io-thread, Stefan Hajnoczi, 2011/09/09
- [Qemu-devel] [PATCH 4/8] qemu-options: Improve help texts for options which depend on configure, Stefan Hajnoczi, 2011/09/09
- [Qemu-devel] [PATCH 8/8] Fix include statements for qemu-common.h, Stefan Hajnoczi, 2011/09/09
- [Qemu-devel] [PATCH 3/8] docs: Fix qdev-device-use.txt typo in -chardev serial, path=COM<NUM>, Stefan Hajnoczi, 2011/09/09
- [Qemu-devel] [PATCH 7/8] virtio-9p: Fix syntax error in debug code,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 1/8] Fix comment (install patch -> install path), Stefan Hajnoczi, 2011/09/09
- [Qemu-devel] [PATCH 6/8] SPARC: Trivial patch to clean up npc monitor output, Stefan Hajnoczi, 2011/09/09
- [Qemu-devel] [PATCH 5/8] configure: Avoid duplicate flags when calling compile_prog, Stefan Hajnoczi, 2011/09/09
- Re: [Qemu-devel] [PULL 0/8] Trivial patches for September 3 to 9 2011, Anthony Liguori, 2011/09/09