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 C07896EC55; Tue, 4 May 2021 19:05:11 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org C07896EC55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1620144311; bh=F2NjA2fnVdQfXDqyVQIu50Sg7x9rWyMrdfPPtKZZGNM=; 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=iwJwMqlbNpDvY3gPt2wqWZABbrJj4MYTrIP3Be9PswtHdu+XnuemYzg6EdOPaLRyC YuLTfKQbcM/b2AHJWnF1ZcbE2X7Mu+/3IuQLZGo5DYA4iMYqA79GgTkWmv64efhdBr bVqiC3I8HjToLiWVII5hVfIbtWLrs+FSlkZsx/I8= Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (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 210566EC55 for ; Tue, 4 May 2021 19:02:33 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 210566EC55 Received: by mail-lf1-f46.google.com with SMTP id h4so6433859lfv.0 for ; Tue, 04 May 2021 09:02:33 -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=wuJURpYFdjFP9w9lGHzcKcQ/vmPSFOOLNEqb8yiGsnk=; b=ErQk1uFgsd6mXowVDA16FMUxg/FG1W7xJIEMxsR5nMkHr/D9AwekTlBW5/1yP7/irL r/xXSjMrcJlXHm9r7dSGC+XRv6RtbhrREnrco9J9hk4qr22lfKKHSytuKuficX4IRNOR 1vd2fFthcv2R5bvnXWF1szZWl/9+qKexyEfo8GKLMQxQ2KAOo4cwoN3+TJIT15K9d1ey E+K8jAKYu6LDJLBBq60WgVB8bdquZVypUJLTYXMjUvMnL2tP3gtSluyQs5XKVSDziAnT pX1brnXQNafWlrA2f3AdfzLRMSOT8fNz3WuV/3nc6XAcNT+idKvh8G+eXGnqP6l1Xz3H JRWQ== X-Gm-Message-State: AOAM531oACnSYi/vclenxQ1qTAjWG8Ul5FdkXUEgV+BxlQeTaWFtNrLK of4RYhVREUWRNtUzVgKeX1NcccZwaGU= X-Google-Smtp-Source: ABdhPJy04bIaFGrCTZIm3zqTDx1WSEMxsjIvicPnb6+esfkKX/3Pr+b/BOntdJTkArvpji3H+uAxVA== X-Received: by 2002:ac2:5059:: with SMTP id a25mr7154321lfm.484.1620144152187; Tue, 04 May 2021 09:02:32 -0700 (PDT) Received: from grain.localdomain ([5.18.199.94]) by smtp.gmail.com with ESMTPSA id l2sm299032lfc.121.2021.05.04.09.02.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 09:02:31 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id 183F75601FC; Tue, 4 May 2021 18:58:21 +0300 (MSK) To: tml Date: Tue, 4 May 2021 18:58:19 +0300 Message-Id: <20210504155819.290874-11-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 10/10] say: fix CFORMAT specification 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" The position of first argument to check from is 6, not 0. Looks like our tests with CFORMAT was simply not working since commit 7d12d66e67a1ce843a2712980f4d3ba04bc0d4f2. Lets turn them all back. Part-of #5846 Reported-by: Vladislav Shpilevoy Signed-off-by: Cyrill Gorcunov --- src/lib/core/say.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/core/say.h b/src/lib/core/say.h index fe8251e4c..e1fec8c60 100644 --- a/src/lib/core/say.h +++ b/src/lib/core/say.h @@ -287,7 +287,7 @@ typedef void (*sayfunc_t)(int, const char *, int, const char *, const char *, ...); /** Internal function used to implement say() macros */ -CFORMAT(printf, 5, 0) extern sayfunc_t _say; +CFORMAT(printf, 5, 6) extern sayfunc_t _say; /** * Format and print a message to Tarantool log file. -- 2.30.2