examples/vhost: fix build with debug enabled
Minor fix for the referring of a pointer when debug and dump is enabled. Fixes: 72ec8d77ac68 ("examples/vhost: rework duplicated code") Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
This commit is contained in:
parent
21a0cf3535
commit
e6eff1ba4a
@ -1105,7 +1105,7 @@ find_local_dest(struct virtio_net *dev, struct rte_mbuf *m,
|
|||||||
"(%"PRIu64") TX: pkt to local VM device id:"
|
"(%"PRIu64") TX: pkt to local VM device id:"
|
||||||
"(%"PRIu64") vlan tag: %d.\n",
|
"(%"PRIu64") vlan tag: %d.\n",
|
||||||
dev->device_fh, dev_ll->vdev->dev->device_fh,
|
dev->device_fh, dev_ll->vdev->dev->device_fh,
|
||||||
vlan_tag);
|
(int)*vlan_tag);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user