From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] log: fix pattern matching Date: Mon, 21 May 2018 15:52:36 +0200 Message-ID: <7527078.1QPMiUSDxU@xps> References: <20180516140523.75519-1-ferruh.yigit@intel.com> <20180516140928.76570-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, stephen@networkplumber.org To: Ferruh Yigit Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 006121B171 for ; Mon, 21 May 2018 15:52:42 +0200 (CEST) In-Reply-To: <20180516140928.76570-1-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 16/05/2018 16:09, Ferruh Yigit: > loglevel set wrong when ":" is used as separator, like > --log-type="user:debug" > > This is because fnmatch returns zero on success. Fixed fnmatch return > value check. > > Fixes: 7f0bb634a140 ("log: add ability to match log type with globbing") > Cc: stephen@networkplumber.org > > Signed-off-by: Ferruh Yigit Applied, thanks