summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaria Lingemark <maria.lingemark@ericsson.com>2017-11-14 09:04:24 +0100
committerThomas Monjalon <thomas@monjalon.net>2017-11-15 00:25:09 +0100
commit421ca44ae2d25113a352ef8a49063655df352eb4 (patch)
treed0ae35a1730bb8888c0fae5ee1017fea6ef0524a
parent1a60a0daa6e46593d22374be0603bb6ae479b228 (diff)
downloaddpdk-draft-cli-421ca44ae2d25113a352ef8a49063655df352eb4.zip
dpdk-draft-cli-421ca44ae2d25113a352ef8a49063655df352eb4.tar.gz
dpdk-draft-cli-421ca44ae2d25113a352ef8a49063655df352eb4.tar.xz
pdump: fix typo in error log
Fixes: 278f945402c5 ("pdump: add new library for packet capture") Signed-off-by: Maria Lingemark <maria.lingemark@ericsson.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
-rw-r--r--lib/librte_pdump/rte_pdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librte_pdump/rte_pdump.c b/lib/librte_pdump/rte_pdump.c
index 00ab87e..bc18f81 100644
--- a/lib/librte_pdump/rte_pdump.c
+++ b/lib/librte_pdump/rte_pdump.c
@@ -353,7 +353,7 @@ set_pdump_rxtx_cbs(struct pdump_request *p)
&port);
if (ret < 0) {
RTE_LOG(ERR, PDUMP,
- "failed to get potid for device id=%s\n",
+ "failed to get port id for device id=%s\n",
p->data.en_v1.device);
return -EINVAL;
}
@@ -365,7 +365,7 @@ set_pdump_rxtx_cbs(struct pdump_request *p)
&port);
if (ret < 0) {
RTE_LOG(ERR, PDUMP,
- "failed to get potid for device id=%s\n",
+ "failed to get port id for device id=%s\n",
p->data.dis_v1.device);
return -EINVAL;
}