diff options
author | Joszef Kadlecsik <kadlec@blackhole.kfki.hu> | 2006-10-06 08:30:20 +0000 |
---|---|---|
committer | Joszef Kadlecsik <kadlec@blackhole.kfki.hu> | 2006-10-06 08:30:20 +0000 |
commit | 48b46a615b48ef224985070cf4c3966f793c4cf3 (patch) | |
tree | 1a596a6ded17d6568ab4b6d06a1915ff8fb8fc71 /extensions/libipt_set.h | |
parent | 2d1a297ffdaab3172ab373310175e98daabd6c98 (diff) |
Use correct types at error reporting (patch sent by H. Nakano)
Diffstat (limited to 'extensions/libipt_set.h')
-rw-r--r-- | extensions/libipt_set.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libipt_set.h b/extensions/libipt_set.h index 461e2907..02de0fa6 100644 --- a/extensions/libipt_set.h +++ b/extensions/libipt_set.h @@ -66,7 +66,7 @@ static void get_set_byname(const char *setname, struct ipt_set_info *info) 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 @@ static void get_set_byid(char * setname, ip_set_id_t index) 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, |