aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulius Zaleckas2012-03-06 22:25:14 +0000
committerDavid S. Miller2012-03-08 00:25:25 -0800
commitd9e179ecec0805c41b17f9a0c3b925d415677772 (patch)
treefb203ed710a1493d4aaf71b85955882834501096
parent09c1d446fe0e2e3f34b366a6b3c1b19efa1522af (diff)
bridge: br_log_state() s/entering/entered/
When br_log_state() is reporting state it should say "entered" istead of "entering" since state at this point is already changed. Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/bridge/br_stp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_stp.c b/net/bridge/br_stp.c
index 6751ed4e0c07..8c836d96ba76 100644
--- a/net/bridge/br_stp.c
+++ b/net/bridge/br_stp.c
@@ -31,7 +31,7 @@ static const char *const br_port_state_names[] = {
void br_log_state(const struct net_bridge_port *p)
{
- br_info(p->br, "port %u(%s) entering %s state\n",
+ br_info(p->br, "port %u(%s) entered %s state\n",
(unsigned) p->port_no, p->dev->name,
br_port_state_names[p->state]);
}