From: Ouyang Changchun Date: Mon, 4 May 2015 07:15:19 +0000 (+0800) Subject: examples/vhost: fix build with debug enabled X-Git-Tag: spdx-start~9230 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e6eff1ba4a235e42a3026f4342da2eef3a60a91e;p=dpdk.git 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 --- diff --git a/examples/vhost/main.c b/examples/vhost/main.c index a01a0575b5..509e9d875b 100644 --- a/examples/vhost/main.c +++ b/examples/vhost/main.c @@ -1105,7 +1105,7 @@ find_local_dest(struct virtio_net *dev, struct rte_mbuf *m, "(%"PRIu64") TX: pkt to local VM device id:" "(%"PRIu64") vlan tag: %d.\n", dev->device_fh, dev_ll->vdev->dev->device_fh, - vlan_tag); + (int)*vlan_tag); break; }