summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2014-07-02 15:11:31 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-07-02 22:32:43 +0200
commit8c4e33562d01d22d9439f6715951301e67560b25 (patch)
treebb0f8c8c28bed2534f0655c50e744d584bf1a3de
parentae7a7cd1623d400a0ddc01cb4e39ee621a16f620 (diff)
downloaddpdk-8c4e33562d01d22d9439f6715951301e67560b25.zip
dpdk-8c4e33562d01d22d9439f6715951301e67560b25.tar.gz
dpdk-8c4e33562d01d22d9439f6715951301e67560b25.tar.xz
virtio: fix build of debug dump
The commit 591a9d7985c1230 (add FILE argument to debug functions) didn't compile if CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP is enabled. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
-rw-r--r--lib/librte_pmd_virtio/virtio_rxtx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_pmd_virtio/virtio_rxtx.c b/lib/librte_pmd_virtio/virtio_rxtx.c
index 6d20331..6f02a61 100644
--- a/lib/librte_pmd_virtio/virtio_rxtx.c
+++ b/lib/librte_pmd_virtio/virtio_rxtx.c
@@ -55,7 +55,7 @@
#include "virtqueue.h"
#ifdef RTE_LIBRTE_VIRTIO_DEBUG_DUMP
-#define VIRTIO_DUMP_PACKET(m, len) rte_pktmbuf_dump(m, len)
+#define VIRTIO_DUMP_PACKET(m, len) rte_pktmbuf_dump(stdout, m, len)
#else
#define VIRTIO_DUMP_PACKET(m, len) do { } while (0)
#endif