From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 469A6A0547; Fri, 5 Mar 2021 16:12:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0CC2622A33F; Fri, 5 Mar 2021 16:12:38 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id DEEE122A33E for ; Fri, 5 Mar 2021 16:12:36 +0100 (CET) IronPort-SDR: Mag8zpqKjehvzWGa2loXJVAyCQ0e/YJpbu8Yy6jHlx5Lj75bnLKXDHWbhmX07QcOftLyerXOip 2AdqyfNxBotA== X-IronPort-AV: E=McAfee;i="6000,8403,9914"; a="185257714" X-IronPort-AV: E=Sophos;i="5.81,225,1610438400"; d="scan'208";a="185257714" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Mar 2021 07:12:35 -0800 IronPort-SDR: VsqAkT+E8Q/oF5GtIemc7RhQ5/geKeYd7azp/dQPu/9puSdshkpLDY5PpiI0bx+LC+WulPsOsh KzNCmb4bzDnA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,225,1610438400"; d="scan'208";a="597821339" Received: from fourhctwonone.iind.intel.com (HELO bdcdev09.localdomain) ([10.190.193.143]) by fmsmga006.fm.intel.com with ESMTP; 05 Mar 2021 07:12:34 -0800 From: Churchill Khangar To: dev@dpdk.org Cc: cristian.dumitrescu@intel.com, venkata.suresh.kumar.p@intel.com, churchill.khangar@intel.com, yogesh.jangra@intel.com Date: Fri, 5 Mar 2021 10:15:30 -0500 Message-Id: <1614957330-9469-1-git-send-email-churchill.khangar@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH] examples/pipeline: fix strtoul base X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Acked-by: Cristian Dumitrescu --- 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