From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f177.google.com (mail-we0-f177.google.com [74.125.82.177]) by dpdk.org (Postfix) with ESMTP id BCFA8AF85 for ; Wed, 2 Jul 2014 17:03:01 +0200 (CEST) Received: by mail-we0-f177.google.com with SMTP id u56so11212932wes.8 for ; Wed, 02 Jul 2014 08:03:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=yflXbny80Dw+l/lveCO3ZBy1j43V+Bc+3kndSyrrgl0=; b=HOYxPxBXtyav2fQrynTZkmKgFl7PpTuzwmBtYXQo9cySrW+bcjsVLv1S1XVNgsZA/0 +vvPu/gYPuPRLxdM9iN83fvvRLvot5FW3S2X88K0ACgowCFrldBvp32e7kzRwc5+33+f bRzFE/kOHgrNKwmja8IV7Qp5Vqx2Pg4oMHs3ZczF2qhgPQ+uPn0LAV2zSZ5sXUyzzFGb 4YWvBqtVKEJgNBy6FBwREI8VFukA+olWwONSyo7uCnLDEEZNIyNZyuISg/4tp/YlnNE+ PF7fogjPErynd+AJMovR6s7vQwUFT6V0JovSSPs8Y7dclFnqCmKdUvnbMzNG18ZJuz/f Afmg== X-Gm-Message-State: ALoCoQnZ7JHrF2grLaC2fvedDMG6fhJL5u8OA5McnPbUVVkxckuW4WUi70WgXq1TOdKxOkTmviFD X-Received: by 10.180.90.113 with SMTP id bv17mr44907077wib.31.1404313401534; Wed, 02 Jul 2014 08:03:21 -0700 (PDT) Received: from XPS13.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id fc7sm55588765wjc.37.2014.07.02.08.03.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Jul 2014 08:03:20 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Wed, 2 Jul 2014 17:02:53 +0200 Message-Id: <1404313375-2205-6-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1404313375-2205-1-git-send-email-thomas.monjalon@6wind.com> References: <1404313375-2205-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-dev] [PATCH 5/7] virtio: fix build of debug dump X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 15:03:02 -0000 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 --- 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 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 -- 2.0.0