mirror of https://gitee.com/openkylin/qemu.git
virtio-9p: Fix syntax error in debug code
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 <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
3f9c359507
commit
069d89b8a8
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue