DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] examples/pipeline: fix strtoul base
@ 2021-03-05 15:15 Churchill Khangar
  2021-03-24  9:05 ` Thomas Monjalon
  2021-03-24 12:22 ` [dpdk-dev] [PATCH v2] examples/pipeline: support CLI hex args Churchill Khangar
  0 siblings, 2 replies; 7+ messages in thread
From: Churchill Khangar @ 2021-03-05 15:15 UTC (permalink / raw)
  To: dev
  Cc: cristian.dumitrescu, venkata.suresh.kumar.p, churchill.khangar,
	yogesh.jangra

This patch addresses the issue with strtoul base

Fixes: 5074e1d55107 ("examples/pipeline: add configuration commands")
Cc: cristian.dumitrescu@intel.com

Signed-off-by: Churchill Khangar <churchill.khangar@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
---
 examples/pipeline/cli.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c
index e97e120..631c325 100644
--- a/examples/pipeline/cli.c
+++ b/examples/pipeline/cli.c
@@ -53,7 +53,7 @@
 	if (!isdigit(*p))
 		return -EINVAL;
 
-	val = strtoul(p, &next, 10);
+	val = strtoul(p, &next, 0);
 	if (p == next)
 		return -EINVAL;
 
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-03-24 17:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-05 15:15 [dpdk-dev] [PATCH] examples/pipeline: fix strtoul base Churchill Khangar
2021-03-24  9:05 ` Thomas Monjalon
2021-03-24 10:41   ` Dumitrescu, Cristian
2021-03-24 12:22 ` [dpdk-dev] [PATCH v2] examples/pipeline: support CLI hex args Churchill Khangar
2021-03-24 12:31   ` David Marchand
2021-03-24 12:52     ` Dumitrescu, Cristian
2021-03-24 17:25   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).