From: Thomas Monjalon Date: Wed, 2 Jul 2014 13:11:31 +0000 (+0200) Subject: virtio: fix build of debug dump X-Git-Tag: spdx-start~10549 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8c4e33562d01d22d9439f6715951301e67560b25;p=dpdk.git 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 --- 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