projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IPVS: use pr_err and friends instead of IP_VS_ERR and friends
[deliverable/linux.git]
/
net
/
netfilter
/
ipvs
/
ip_vs_ftp.c
diff --git
a/net/netfilter/ipvs/ip_vs_ftp.c
b/net/netfilter/ipvs/ip_vs_ftp.c
index 428edbf481cce9814ac860ca20ee3b89aeb38ab3..33e2c799cba7427b16784d0f1ce324aa3fadd11c 100644
(file)
--- a/
net/netfilter/ipvs/ip_vs_ftp.c
+++ b/
net/netfilter/ipvs/ip_vs_ftp.c
@@
-22,6
+22,9
@@
*
*/
*
*/
+#define KMSG_COMPONENT "IPVS"
+#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
@@
-382,8
+385,8
@@
static int __init ip_vs_ftp_init(void)
ret = register_ip_vs_app_inc(app, app->protocol, ports[i]);
if (ret)
break;
ret = register_ip_vs_app_inc(app, app->protocol, ports[i]);
if (ret)
break;
-
IP_VS_INFO
("%s: loaded support on port[%d] = %d\n",
-
app->name, i, ports[i]);
+
pr_info
("%s: loaded support on port[%d] = %d\n",
+ app->name, i, ports[i]);
}
if (ret)
}
if (ret)
This page took
0.027893 seconds
and
5
git commands to generate.