[dpdk-dev] pdump: fix typo in error log

Message ID 1510646664-27567-1-git-send-email-maria.lingemark@ericsson.com
State Accepted, archived
Headers show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

maria.lingemark@ericsson.com Nov. 14, 2017, 8:04 a.m.
From: Maria Lingemark <maria.lingemark@ericsson.com>

Fixes: 278f945402c5 ("pdump: add new library for packet capture")
Cc: reshma.pattan@intel.com

Signed-off-by: Maria Lingemark <maria.lingemark@ericsson.com>
---
 lib/librte_pdump/rte_pdump.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Bruce Richardson Nov. 14, 2017, 7:35 p.m. | #1
On Tue, Nov 14, 2017 at 09:04:24AM +0100, maria.lingemark@ericsson.com wrote:
> From: Maria Lingemark <maria.lingemark@ericsson.com>
> 
> Fixes: 278f945402c5 ("pdump: add new library for packet capture")
> Cc: reshma.pattan@intel.com
> 
> Signed-off-by: Maria Lingemark <maria.lingemark@ericsson.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Thomas Monjalon Nov. 14, 2017, 9:48 p.m. | #2
14/11/2017 20:35, Bruce Richardson:
> On Tue, Nov 14, 2017 at 09:04:24AM +0100, maria.lingemark@ericsson.com wrote:
> > From: Maria Lingemark <maria.lingemark@ericsson.com>
> > 
> > Fixes: 278f945402c5 ("pdump: add new library for packet capture")
> > Cc: reshma.pattan@intel.com
> > 
> > Signed-off-by: Maria Lingemark <maria.lingemark@ericsson.com>
> > ---
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>

Applied, thanks

Patch

diff --git a/lib/librte_pdump/rte_pdump.c b/lib/librte_pdump/rte_pdump.c
index 29a6c99..9b1e560 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;
 		}