summaryrefslogtreecommitdiff
path: root/hw/9pfs/virtio-9p-debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/9pfs/virtio-9p-debug.c')
-rw-r--r--hw/9pfs/virtio-9p-debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/9pfs/virtio-9p-debug.c b/hw/9pfs/virtio-9p-debug.c
index 4636ad51f0..96925f04a4 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;
}