From: Eric Leblond Subject: [PATCH] netfilter: simplify warning message Date: Mon, 18 Jan 2010 09:42:22 +0100 Message-ID: <1263804142-6318-1-git-send-email-eric@inl.fr> References: <4B541397.6010708@trash.net> Cc: netfilter-devel@vger.kernel.org, Eric Leblond To: Patrick McHardy Return-path: Received: from smtp1-g21.free.fr ([212.27.42.1]:40588 "EHLO smtp1-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751931Ab0ARImb (ORCPT ); Mon, 18 Jan 2010 03:42:31 -0500 In-Reply-To: <4B541397.6010708@trash.net> Sender: netfilter-devel-owner@vger.kernel.org List-ID: This patch remove variable part from a debug message to have message concatenation from syslog. Signed-off-by: Eric Leblond --- net/netfilter/nfnetlink_queue.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/netfilter/nfnetlink_queue.c b/net/netfilter/nfnetlink_queue.c index 7e3fa41..b5ed1f7 100644 --- a/net/netfilter/nfnetlink_queue.c +++ b/net/netfilter/nfnetlink_queue.c @@ -414,8 +414,8 @@ nfqnl_enqueue_packet(struct nf_queue_entry *entry, unsigned int queuenum) queue->queue_dropped++; if (net_ratelimit()) printk(KERN_WARNING "nf_queue: full at %d entries, " - "dropping packets(s). Dropped: %d\n", - queue->queue_total, queue->queue_dropped); + "dropping packets(s).\n", + queue->queue_total); goto err_out_free_nskb; } -- 1.6.1