From 8c4e33562d01d22d9439f6715951301e67560b25 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Wed, 2 Jul 2014 15:11:31 +0200 Subject: [PATCH] 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 Acked-by: Bruce Richardson --- lib/librte_pmd_virtio/virtio_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_pmd_virtio/virtio_rxtx.c b/lib/librte_pmd_virtio/virtio_rxtx.c index 6d203312a7..6f02a615cc 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 -- 2.20.1