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 62252432E6; Thu, 9 Nov 2023 16:40:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5055C4026B; Thu, 9 Nov 2023 16:40:18 +0100 (CET) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mails.dpdk.org (Postfix) with ESMTP id 3B71F4021E for ; Thu, 9 Nov 2023 16:40:16 +0100 (CET) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-6c10f098a27so913685b3a.2 for ; Thu, 09 Nov 2023 07:40:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1699544415; x=1700149215; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=t+6r5/IijFNtTM3tr5srsN8WghdbVUtGDZj1HKLkpuY=; b=Z8tPKONzI1Fg3cRcqRRoMgZlJ7nYmZWZqvG6TN+AcN0Z8AjTONfrLsTcvp+cOQtCYI SW+Bion2GQojXLoIU37EzDmjBFQOHebelXJas6SyNAuI7aUmDy84edhOnrjbC8SNUimf PpjGydemY2PgMmQzBJCq/tC/lfEzyCOKTW6X5r9uGt0h7fNi0alGv4LUobq5A/tfaRHY PaYqXy4aQ64kR/Y+7tM49D9aGoJCP5HxxRbRHBchMFC3v/oh6WtncLm0gOqMO+73qRap ZS7i1Rzb119lHZWUMIcapZBYmruo6yi/+9ADN28VUbTs1OC2mzMGza/yy1b5vxUHp/+J GgoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699544415; x=1700149215; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=t+6r5/IijFNtTM3tr5srsN8WghdbVUtGDZj1HKLkpuY=; b=GTnkcncDXaKXvaFqrEni0ElDlMHMsnC0XBUDIDdYxFb69dDHvIwncwRph5ockaKNAK Q4tLpbq4CgOEj2JELnZrKEIEpzwD11PItbUGS7o8M+SXfBtVQfmlqGphW/B1N+TCDq0n 5ADpURMTZpdhNSUbmpc7fJBtyRasJQPv9xpcwwevzMdESrbPC+9YEe2ldWox+natqi4k gMa9tpojHFfgpP54EykfMhhUEcxO6tmfnXRKMW9dKfqoZjczmJnr7d51byTal/FTt2sW FXv3SrFmASK36TD6XpaZ/A9WfhfnZhQUD807aWVdnPDpWH0+Gj2LUiIw+VPj1jt/zuQR 4ymQ== X-Gm-Message-State: AOJu0YxaXGWmNuO4kLUuirr/Ct7uXE0sh0pEMvmR8htswb98na9sDqRK hqrzPMUfgKPkuRU9Tn8cwQBZ0SEyDAxslDFLwqM= X-Google-Smtp-Source: AGHT+IEPuQ/BZn7lHy9+827BiU/29UnwxggVVySvBYyk3m+Ykhe+HvMAP/7eThBrDK+WeaTFUG+UDQ== X-Received: by 2002:a05:6a00:b8c:b0:6b2:5d32:58c with SMTP id g12-20020a056a000b8c00b006b25d32058cmr5046917pfj.22.1699544415271; Thu, 09 Nov 2023 07:40:15 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id 29-20020a630a1d000000b0057412d84d25sm4825167pgk.4.2023.11.09.07.40.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Nov 2023 07:40:15 -0800 (PST) Date: Thu, 9 Nov 2023 07:40:12 -0800 From: Stephen Hemminger To: Morten =?UTF-8?B?QnLDuHJ1cA==?= Cc: , "Isaac Boukris" Subject: Re: [PATCH v3 2/5] dumpcap: allow multiple invocations Message-ID: <20231109074012.2290dcb3@hermes.local> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9EFFA@smartserver.smartshare.dk> References: <20230921042349.104150-1-stephen@networkplumber.org> <20231108183557.381955-1-stephen@networkplumber.org> <20231108183557.381955-3-stephen@networkplumber.org> <98CBD80474FA8B44BF855DF32C47DC35E9EFFA@smartserver.smartshare.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 On Thu, 9 Nov 2023 08:50:10 +0100 Morten Br=C3=B8rup wrote: > > Signed-off-by: Stephen Hemminger > > --- =20 >=20 > Minor detail: getpid() returns int, so prefer %d over %u. Let me check, per man page. getpid() returns pid_t. The typedef chain leads to: pid_t -> __pid_t -> __PID_T_TYPE -> __S32_TYPE -> int32 -> int