summaryrefslogtreecommitdiffstats
path: root/net/x25/af_x25.c
diff options
context:
space:
mode:
authorwangweidong <wangweidong1@huawei.com>2013-12-06 12:24:33 +0100
committerDavid S. Miller <davem@davemloft.net>2013-12-10 02:24:18 +0100
commitb73e9e3cf06ef8180c75a6bd28cdd1b833d22a3a (patch)
tree8823cc5b0cf471c9e139d9b260f4ad651e50cef8 /net/x25/af_x25.c
parentpacket: introduce PACKET_QDISC_BYPASS socket option (diff)
downloadlinux-b73e9e3cf06ef8180c75a6bd28cdd1b833d22a3a.tar.xz
linux-b73e9e3cf06ef8180c75a6bd28cdd1b833d22a3a.zip
x25: convert printks to pr_<level>
use pr_<level> instead of printk(LEVEL) Suggested-by: Joe Perches <joe@perches.com> Signed-off-by: Wang Weidong <wangweidong1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/x25/af_x25.c')
-rw-r--r--net/x25/af_x25.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c
index 7622789d3750..c8a8297cd4b8 100644
--- a/net/x25/af_x25.c
+++ b/net/x25/af_x25.c
@@ -35,6 +35,8 @@
* response
*/
+#define pr_fmt(fmt) "X25: " fmt
+
#include <linux/module.h>
#include <linux/capability.h>
#include <linux/errno.h>
@@ -1809,7 +1811,7 @@ static int __init x25_init(void)
if (rc != 0)
goto out_sock;
- printk(KERN_INFO "X.25 for Linux Version 0.2\n");
+ pr_info("Linux Version 0.2\n");
x25_register_sysctl();
rc = x25_proc_init();