From: Pablo Neira <pablo@eurodev.net>
To: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Cc: Harald Welte <laforge@netfilter.org>
Subject: [PATCH 3/7] Fix warnings when debug mode is on
Date: Mon, 01 Aug 2005 19:05:03 +0200 [thread overview]
Message-ID: <42EE563F.9000607@eurodev.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 38 bytes --]
Fix some warnings when DEBUGP is set.
[-- Attachment #2: 02debug-warning.patch --]
[-- Type: text/x-patch, Size: 1085 bytes --]
Index: netfilter-2.6.14/net/ipv4/netfilter/ip_conntrack_netlink.c
===================================================================
--- netfilter-2.6.14.orig/net/ipv4/netfilter/ip_conntrack_netlink.c 2005-08-01 16:25:00.000000000 +0200
+++ netfilter-2.6.14/net/ipv4/netfilter/ip_conntrack_netlink.c 2005-08-01 16:25:04.000000000 +0200
@@ -436,7 +436,7 @@
struct list_head *i;
u_int32_t *id = (u_int32_t *) &cb->args[1];
- DEBUGP("entered %s, last bucket=%u id=%u\n", __FUNCTION__,
+ DEBUGP("entered %s, last bucket=%lu id=%u\n", __FUNCTION__,
cb->args[0], *id);
write_lock_bh(&ip_conntrack_lock);
@@ -1207,7 +1207,7 @@
struct list_head *i;
u_int32_t *id = (u_int32_t *) &cb->args[0];
- DEBUGP("entered %s, last id=%llu\n", __FUNCTION__, *id);
+ DEBUGP("entered %s, last id=%u\n", __FUNCTION__, *id);
read_lock_bh(&ip_conntrack_lock);
list_for_each(i, &ip_conntrack_expect_list) {
@@ -1224,7 +1224,7 @@
out:
read_unlock_bh(&ip_conntrack_lock);
- DEBUGP("leaving, last id=%llu\n", *id);
+ DEBUGP("leaving, last id=%u\n", *id);
return skb->len;
}
next reply other threads:[~2005-08-01 17:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-01 17:05 Pablo Neira [this message]
2005-08-01 20:22 ` [PATCH 3/7] Fix warnings when debug mode is on Harald Welte
2005-08-01 20:25 ` Harald Welte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42EE563F.9000607@eurodev.net \
--to=pablo@eurodev.net \
--cc=laforge@netfilter.org \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.