From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 17FE26EC56; Tue, 4 May 2021 19:04:12 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 17FE26EC56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1620144252; bh=1XjuhHRn9U13TD++v1XwDbdDcQucKY8fkJMAmOJgJxw=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=VFbHbr1w95aEIsNasKsTCKj3aE67xdBIK+Rc5xGEWKSZ1769GEZ4itdDMClJUuBvh aQOJQ8M6hjOE5FJgbqWMqDusF/mthd45iS56nrsuAmGucEULH67Gkn6YhZona/MfCy uZ5CgHTOHWOmWbke8OBYI5hV6mBRHYwtDQh3nzcU= Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 1C3B46EC5A for ; Tue, 4 May 2021 19:02:09 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 1C3B46EC5A Received: by mail-lj1-f181.google.com with SMTP id o16so11834580ljp.3 for ; Tue, 04 May 2021 09:02:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=P4Srb7+I2gjXRwLo8HHWd8mR8YvxZj/F8ZzrNdNnmlY=; b=c9xnXUYDvrssL4l7LDrhhq83bhzIQ/zF6mDs9dNEav6A8bb8WmnARz0HCq15zTjfej q0M8047Tx2ReZqOF3ZMkiYvGhD4HW4KoKlQj3AiDUNiuZxuRMThWfrPZUHVZ4rF9FELB 3BOaMPvL5O/msaDhztRfcI983sHHGW/Tnm8+zBeVYmpyY5YMuTHKNHW7iz5MYuiz0osM NSSlD4htUgIKuk5NJ5GPQRfEagdK2RjBFa7vRU1cWo0UzcD4x+C8A2WUowvQehT4F5pg LhnWrJOgbg+fd6qctjVL1CPsBJJfSoeP4hN0wVytZIzT9slFrEEHTDq3TNKfzjki7DV/ Xclw== X-Gm-Message-State: AOAM531PiEBY62tVCrDp06DWdQK9dXLSGmELKBkfWhk14it8WwMKiXRr ablM+oGvvPU8f5IVYSAKyegQbTeLJT4= X-Google-Smtp-Source: ABdhPJw+h0WnBoblVerWXUTBaqO2VXM+B3XAzYgfJf7cK7M/9fQGD0rB3gL6/2vi5AAwu85UZA1Lrw== X-Received: by 2002:a2e:3317:: with SMTP id d23mr4108380ljc.60.1620144127605; Tue, 04 May 2021 09:02:07 -0700 (PDT) Received: from grain.localdomain ([5.18.199.94]) by smtp.gmail.com with ESMTPSA id t1sm298515lfg.226.2021.05.04.09.02.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 09:02:06 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id EFAC1560179; Tue, 4 May 2021 18:58:20 +0300 (MSK) To: tml Date: Tue, 4 May 2021 18:58:11 +0300 Message-Id: <20210504155819.290874-3-gorcunov@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210504155819.290874-1-gorcunov@gmail.com> References: <20210504155819.290874-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v3 02/10] popen: fix say_x format arguments X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Cyrill Gorcunov via Tarantool-patches Reply-To: Cyrill Gorcunov Cc: Vladislav Shpilevoy Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" - drop redundant %p - use %zd for size_t Part-of #5846 Signed-off-by: Cyrill Gorcunov --- src/lib/core/popen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/core/popen.c b/src/lib/core/popen.c index 3b5fd1062..99a3d3cbd 100644 --- a/src/lib/core/popen.c +++ b/src/lib/core/popen.c @@ -240,7 +240,7 @@ handle_new(struct popen_opts *opts) static inline void handle_free(struct popen_handle *handle) { - say_debug("popen: handle %p free %p", handle); + say_debug("popen: handle free %p", handle); free(handle); } @@ -533,7 +533,7 @@ popen_shutdown(struct popen_handle *handle, unsigned int flags) if (handle->ios[idx].fd < 0) continue; - say_debug("popen: %d: shutdown idx [%s:%d] fd %s", + say_debug("popen: %d: shutdown idx [%s:%zd] fd %d", handle->pid, stdX_str(idx), idx, handle->ios[idx].fd); coio_close_io(loop(), &handle->ios[idx]); -- 2.30.2