summaryrefslogtreecommitdiff
path: root/src/conntrack.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-08-01 11:27:27 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-08-01 11:27:27 +0200
commit1d3c3133107aea0d054fc444bf61b48ba3bf77cd (patch)
treee610fe19b09dd7560b25944a0522c4c7e0ba84ef /src/conntrack.c
parente1c1dc00eb78f4255fbed0793bd205b42b3d4141 (diff)
downloadconntrack-tools-1d3c3133107aea0d054fc444bf61b48ba3bf77cd.tar.gz
conntrack-tools-1d3c3133107aea0d054fc444bf61b48ba3bf77cd.zip
fix: use %zu instead of %u for size_t
Use %zu instead of %u for size_t to remove compilation warning. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/conntrack.c')
-rw-r--r--src/conntrack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conntrack.c b/src/conntrack.c
index 7400c1b..cc19b5d 100644
--- a/src/conntrack.c
+++ b/src/conntrack.c
@@ -1309,7 +1309,7 @@ int main(int argc, char *argv[])
size_t ret;
ret = nfnl_rcvbufsiz(nfct_nfnlh(cth), socketbuffersize);
fprintf(stderr, "NOTICE: Netlink socket buffer size "
- "has been set to %u bytes.\n", ret);
+ "has been set to %zu bytes.\n", ret);
}
signal(SIGINT, event_sighandler);
signal(SIGTERM, event_sighandler);