[netfilter-cvslog] r6679 - trunk/iptables/extensions

kadlec at netfilter.org kadlec at netfilter.org
Fri Oct 6 10:30:21 CEST 2006


Author: kadlec at netfilter.org
Date: 2006-10-06 10:30:20 +0200 (Fri, 06 Oct 2006)
New Revision: 6679

Modified:
   trunk/iptables/extensions/libipt_set.h
Log:
Use correct types at error reporting (patch sent by H. Nakano)


Modified: trunk/iptables/extensions/libipt_set.h
===================================================================
--- trunk/iptables/extensions/libipt_set.h	2006-09-30 21:07:09 UTC (rev 6678)
+++ trunk/iptables/extensions/libipt_set.h	2006-10-06 08:30:20 UTC (rev 6679)
@@ -66,7 +66,7 @@
 	if (size != sizeof(struct ip_set_req_get_set))
 		exit_error(OTHER_PROBLEM,
 			   "Incorrect return size from kernel during ipset lookup, "
-			   "(want %d, got %d)\n",
+			   "(want %ld, got %ld)\n",
 			   sizeof(struct ip_set_req_get_set), size);
 	if (req.set.index == IP_SET_INVALID_ID)
 		exit_error(PARAMETER_PROBLEM,
@@ -92,7 +92,7 @@
 	if (size != sizeof(struct ip_set_req_get_set))
 		exit_error(OTHER_PROBLEM,
 			   "Incorrect return size from kernel during ipset lookup, "
-			   "(want %d, got %d)\n",
+			   "(want %ld, got %ld)\n",
 			   sizeof(struct ip_set_req_get_set), size);
 	if (req.set.name[0] == '\0')
 		exit_error(PARAMETER_PROBLEM,




More information about the netfilter-cvslog mailing list