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 A0B116EC55; Tue, 4 May 2021 19:02:10 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A0B116EC55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1620144130; bh=MQS/oot5z51CWDCrXe/O/ceWOiNLIe/M6dbfGY9IN1Q=; 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=PwBQUYLz2fEhqQm6nnK5QB8pasBoYo/rvqWoJuZqFCZ8ARTzQklwFPAx1toiQaAPu LK3l3JSeU1P/F4aZGRaSP/LexUf9WgIk2fx7GkMC2Hi47IB4lbNVzvyi3SDDvZ0pXg PBDfcaXS3N3+dOyP+ZYjyoL7WaxD+k47+l50KEPY= Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 AEEC46EC55 for ; Tue, 4 May 2021 19:01:18 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org AEEC46EC55 Received: by mail-lf1-f47.google.com with SMTP id x19so14069641lfa.2 for ; Tue, 04 May 2021 09:01:18 -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=wIDRt/A+1zHQ/IIJ0W21C5ZRFZLl+7p7vaojYoDLMUc=; b=isOVOH3SbBUgWQIOL+3Rw4qfsqXYxDVwLbqxYuI1A5uPHcCd4sLpujpRjVBmyNjmkM vr0mwsUAE64ARlqkM89jF2dVvdj3qXxBOulV6pJ2wtD/SshXPU9DZkQKMP8OLp9vTdF3 prJNNzJRHzehn1CRbNP90WP7zweeUxT9A7BrhkyFAoO7FCYJrs5dwnU6AOURv4ITUuSj hOYRGGMtSMAYY5uoD8ouF55xrLeqCp0X30VCdoJptvIev0c3xpmGS4Gbj4fSmjXWRxqc WWpcnLuF6pRYKGzGgRvI8Mkc6HWMiMNauTX5mJ0oU6h/83OHpI3nlJKYKHO2U3NGBfzz MrdA== X-Gm-Message-State: AOAM530TJgQFYlvQxqX+34QCrYQesIN9UAYoh8e7/asDglDAY/2P0jlG qCEiSnmBvYcCagtmSE9uMZhp7TKAQ2c= X-Google-Smtp-Source: ABdhPJxOy4cv9HEAnkt6RRi3RbAEjs08YLu0KIJ6o2MfvqXot7wP9D3ND8s3mFIGi/X4G8OWewwqVQ== X-Received: by 2002:a19:df54:: with SMTP id q20mr18108016lfj.109.1620144077667; Tue, 04 May 2021 09:01:17 -0700 (PDT) Received: from grain.localdomain ([5.18.199.94]) by smtp.gmail.com with ESMTPSA id q34sm228316lje.56.2021.05.04.09.01.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 09:01:16 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id 00B405601CD; Tue, 4 May 2021 18:58:21 +0300 (MSK) To: tml Date: Tue, 4 May 2021 18:58:13 +0300 Message-Id: <20210504155819.290874-5-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 04/10] box/error: fix argument for CustomError 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 "%s" argument. Part-of #5846 Signed-off-by: Cyrill Gorcunov --- src/box/error.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/box/error.cc b/src/box/error.cc index f3b4ffe86..225b377b7 100644 --- a/src/box/error.cc +++ b/src/box/error.cc @@ -345,7 +345,7 @@ CustomError::CustomError(const char *file, unsigned int line, void CustomError::log() const { - say_file_line(S_ERROR, file, line, errmsg, "%s", + say_file_line(S_ERROR, file, line, errmsg, "Custom type %s", m_custom_type); } -- 2.30.2