diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-02-21 03:29:44 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-02-21 03:29:44 +0100 |
commit | 1829ed482efbc8b390cc760d012b3a4450494e1a (patch) | |
tree | cfdd4aa54cee9dc7e8eda8f755f3cf2ab8e1e880 /extensions/libxt_quota.c | |
parent | bddcb92d1f0f76d21c4469b1667c8199c9fab126 (diff) |
libxtables: prefix exit_error to xtables_error
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libxt_quota.c')
-rw-r--r-- | extensions/libxt_quota.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libxt_quota.c b/extensions/libxt_quota.c index 8c91fb8e..2657b2a7 100644 --- a/extensions/libxt_quota.c +++ b/extensions/libxt_quota.c @@ -47,7 +47,7 @@ parse_quota(const char *s, u_int64_t * quota) #endif if (*quota == UINT64_MAX) - exit_error(PARAMETER_PROBLEM, "quota invalid: '%s'\n", s); + xtables_error(PARAMETER_PROBLEM, "quota invalid: '%s'\n", s); else return 1; } @@ -61,9 +61,9 @@ quota_parse(int c, char **argv, int invert, unsigned int *flags, switch (c) { case '1': if (xtables_check_inverse(optarg, &invert, NULL, 0)) - exit_error(PARAMETER_PROBLEM, "quota: unexpected '!'"); + xtables_error(PARAMETER_PROBLEM, "quota: unexpected '!'"); if (!parse_quota(optarg, &info->quota)) - exit_error(PARAMETER_PROBLEM, + xtables_error(PARAMETER_PROBLEM, "bad quota: '%s'", optarg); break; |