summaryrefslogtreecommitdiff
path: root/net/netfilter/xt_DSCP.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-03-17 16:04:40 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-03-18 14:20:07 +0100
commit8bee4bad03c5b601bd6cea123c31025680587ccc (patch)
treed3eb075492251d8ee16ac1282722b7fa66f9368c /net/netfilter/xt_DSCP.c
parentbe91fd5e323b46450ca82f6828e933e3791fb2f2 (diff)
netfilter: xt extensions: use pr_<level>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/netfilter/xt_DSCP.c')
-rw-r--r--net/netfilter/xt_DSCP.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/xt_DSCP.c b/net/netfilter/xt_DSCP.c
index 74ce8926005..bbf08a91c60 100644
--- a/net/netfilter/xt_DSCP.c
+++ b/net/netfilter/xt_DSCP.c
@@ -9,7 +9,7 @@
*
* See RFC2474 for a description of the DSCP field within the IP Header.
*/
-
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/ip.h>
@@ -65,7 +65,7 @@ static bool dscp_tg_check(const struct xt_tgchk_param *par)
const struct xt_DSCP_info *info = par->targinfo;
if (info->dscp > XT_DSCP_MAX) {
- printk(KERN_WARNING "DSCP: dscp %x out of range\n", info->dscp);
+ pr_info("dscp %x out of range\n", info->dscp);
return false;
}
return true;