From 1829ed482efbc8b390cc760d012b3a4450494e1a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 21 Feb 2009 03:29:44 +0100 Subject: libxtables: prefix exit_error to xtables_error Signed-off-by: Jan Engelhardt --- extensions/libxt_quota.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/libxt_quota.c') 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; -- cgit v1.2.3