git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21a0cf3
)
examples/vhost: fix build with debug enabled
author
Ouyang Changchun
<changchun.ouyang@intel.com>
Mon, 4 May 2015 07:15:19 +0000
(15:15 +0800)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Mon, 11 May 2015 17:46:24 +0000
(19:46 +0200)
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>
examples/vhost/main.c
patch
|
blob
|
history
diff --git
a/examples/vhost/main.c
b/examples/vhost/main.c
index
a01a057
..
509e9d8
100644
(file)
--- 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;
}