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 DE97770202; Wed, 24 Feb 2021 18:38:31 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org DE97770202 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1614181111; bh=KbQCtu9gy+WotMbagHo1pv0djEeOAHZX0iBEzYgdLYE=; 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=NeygMAQS4mqSTX4NWdMpUnZ2xNQPByB+rPKVRPFUpU/WL76KX7CyTGID3chEL6Y9J +PMqBV8iSHxlNRJ1zgPvmxX1JU1VzPfw63b9dRQou5LiOI2jYzimk91xeGVDRVPANS SjGngf0idJoaI6vNlqwCWH75bK5WkOkblYo+tT4s= Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 2421970202 for ; Wed, 24 Feb 2021 18:37:19 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 2421970202 Received: by mail-lj1-f178.google.com with SMTP id r23so2901824ljh.1 for ; Wed, 24 Feb 2021 07:37:19 -0800 (PST) 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=CS74wOf4ov5Ag4OEdkZdEPyo7mMEqQwzGYWvJ22oKjc=; b=Lc+yw0CicYOMWcD5yGQn5c3AzKsU+dAkn3UOAlIbhvf3yeJS1WvpcAtH73VJfWReGA EXVlPsHUGpywMu8TbM4lRIvrniodEmGBHTIR+39LXHCD1DpMVuv6U5unUuM7/fB2FhIK DhU8fGClOtiarcMWOlUM5JuVJ6vNhJn7OXXnPtnXJRdEEgN2msnBRnXGTDy4qRw28Mio 5tpl3SSUrmtAiIHzQTPkP5KAAsGx3GIPVLFrft2N29Xjvfy3ehdNgP0OWPAtfgaAYESa HyATb512N7xhXgo3bPdziPU88aMJiiTSqroAEXrRI4AMFpZ4wpEWzN2W+pTfwzu5rEC+ lAiw== X-Gm-Message-State: AOAM531SguLj24WHbE43duQVYAGnkAx8rkgiupcsJ8JYzK7jTF+ArnQ0 7M7Z+ISZETsktF6wz1nEJmVKfYXSsnC61A== X-Google-Smtp-Source: ABdhPJziLCZS94f4789cmwoQ8MsSofpdfEDVdRFSSWwpa/PP1mu8tKHm0Drhr4pcDiflm7Zjtv08iw== X-Received: by 2002:a2e:9252:: with SMTP id v18mr13713493ljg.26.1614181037123; Wed, 24 Feb 2021 07:37:17 -0800 (PST) Received: from grain.localdomain ([5.18.171.94]) by smtp.gmail.com with ESMTPSA id z7sm554496lfd.228.2021.02.24.07.37.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 07:37:16 -0800 (PST) Received: by grain.localdomain (Postfix, from userid 1000) id D34805601BD; Wed, 24 Feb 2021 18:36:28 +0300 (MSK) To: tml Date: Wed, 24 Feb 2021 18:36:20 +0300 Message-Id: <20210224153626.121506-5-gorcunov@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210224153626.121506-1-gorcunov@gmail.com> References: <20210222182030.76232-1-gorcunov@gmail.com> <20210224153626.121506-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v2 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.29.2