From db717ec47914b7a75dd40577acf8c1aa725c2ac8 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 13 May 2010 15:39:29 +0200 Subject: [PATCH] xt_quota2: reduce printf complexity --- extensions/xt_quota2.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/extensions/xt_quota2.c b/extensions/xt_quota2.c index ab9cb08..73531d8 100644 --- a/extensions/xt_quota2.c +++ b/extensions/xt_quota2.c @@ -153,15 +153,13 @@ static int quota_mt2_check(const struct xt_mtchk_param *par) q->name[sizeof(q->name)-1] = '\0'; if (*q->name == '.' || strchr(q->name, '/') != NULL) { - printk(KERN_ERR "xt_quota<%u>: illegal name\n", - par->match->revision); + printk(KERN_ERR "xt_quota.3: illegal name\n"); return -EINVAL; } q->master = q2_get_counter(q); if (q->master == NULL) { - printk(KERN_ERR "xt_quota<%u>: memory alloc failure\n", - par->match->revision); + printk(KERN_ERR "xt_quota.3: memory alloc failure\n"); return -ENOMEM; }