diff options
author | Paulius Zaleckas <paulius.zaleckas@gmail.com> | 2012-03-06 22:25:14 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-08 00:25:25 -0800 |
commit | d9e179ecec0805c41b17f9a0c3b925d415677772 (patch) | |
tree | fb203ed710a1493d4aaf71b85955882834501096 | |
parent | 09c1d446fe0e2e3f34b366a6b3c1b19efa1522af (diff) | |
download | linux-d9e179ecec0805c41b17f9a0c3b925d415677772.tar.gz linux-d9e179ecec0805c41b17f9a0c3b925d415677772.tar.bz2 linux-d9e179ecec0805c41b17f9a0c3b925d415677772.zip |
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.c | 2 |
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]); } |