From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3AFEAC3A59E for ; Wed, 21 Aug 2019 09:26:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1503722D6D for ; Wed, 21 Aug 2019 09:26:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727297AbfHUJ03 (ORCPT ); Wed, 21 Aug 2019 05:26:29 -0400 Received: from orbyte.nwl.cc ([151.80.46.58]:43760 "EHLO orbyte.nwl.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726317AbfHUJ03 (ORCPT ); Wed, 21 Aug 2019 05:26:29 -0400 Received: from localhost ([::1]:56850 helo=tatos) by orbyte.nwl.cc with esmtp (Exim 4.91) (envelope-from ) id 1i0Msu-00054g-Ng; Wed, 21 Aug 2019 11:26:28 +0200 From: Phil Sutter To: Pablo Neira Ayuso Cc: netfilter-devel@vger.kernel.org Subject: [iptables PATCH 01/14] nft: Fix typo in nft_parse_limit() error message Date: Wed, 21 Aug 2019 11:25:49 +0200 Message-Id: <20190821092602.16292-2-phil@nwl.cc> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190821092602.16292-1-phil@nwl.cc> References: <20190821092602.16292-1-phil@nwl.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Seems like a trivial copy'n'paste bug. Signed-off-by: Phil Sutter --- iptables/nft-shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iptables/nft-shared.c b/iptables/nft-shared.c index 1c09277d85fb5..904bc845e6a41 100644 --- a/iptables/nft-shared.c +++ b/iptables/nft-shared.c @@ -566,7 +566,7 @@ static void nft_parse_limit(struct nft_xt_ctx *ctx, struct nftnl_expr *e) matches = &ctx->cs->matches; break; default: - fprintf(stderr, "BUG: nft_parse_match() unknown family %d\n", + fprintf(stderr, "BUG: nft_parse_limit() unknown family %d\n", ctx->family); exit(EXIT_FAILURE); } -- 2.22.0