aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/ipset/patches/0001-lib-ipset-fix-printf-warning.patch
blob: 90dfacab8f43f77be72d9c0ca06c56fdc156fea8 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/lib/ipset.c
+++ b/lib/ipset.c
@@ -1847,7 +1847,7 @@ static int ipset_xlate(struct ipset *ips
 		return -1;
 	case IPSET_CMD_LIST:
 		if (!set) {
-			printf("list sets %s\n",
+			printf("list sets %s %s\n",
 			       ipset_xlate_family(family), table);
 		} else {
 			printf("list set %s %s %s\n",