[PATCH]net:8021q:vlan.c Fix pr_info to read on line in the syslog.
From: Justin P. Mattock
Date: Mon May 23 2011 - 12:05:27 EST
The patch below changes the pr_info so that it reads on one line in the syslog
rather than two.
before:
[ 30.438203] 802.1Q VLAN Support v1.8 Ben Greear <greearb@xxxxxxxxxxxxxxx>
[ 30.441542] All bugs added by David S. Miller <davem@xxxxxxxxxx>
after:
[ 29.356282] 802.1Q VLAN Support v1.8 Ben Greear <greearb@xxxxxxxxxxxxxxx> All bugs added by: David S. Miller <davem@xxxxxxxxxx>
Signed-off-by: Justin P. Mattock <justinmattock@xxxxxxxxx>
---
net/8021q/vlan.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
index b2274d1..02f4d8b 100644
--- a/net/8021q/vlan.c
+++ b/net/8021q/vlan.c
@@ -673,8 +673,8 @@ static int __init vlan_proto_init(void)
{
int err;
- pr_info("%s v%s %s\n", vlan_fullname, vlan_version, vlan_copyright);
- pr_info("All bugs added by %s\n", vlan_buggyright);
+ pr_info("%s v%s %s All bugs added by: %s\n", vlan_fullname, vlan_version,
+ vlan_copyright, vlan_buggyright);
err = register_pernet_subsys(&vlan_net_ops);
if (err < 0)
--
1.7.5.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/