Skip to content

Commit

Permalink
bridge: br_log_state() s/entering/entered/
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paulius Zaleckas authored and David S. Miller committed Mar 8, 2012
1 parent 09c1d44 commit d9e179e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/bridge/br_stp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
Expand Down

0 comments on commit d9e179e

Please sign in to comment.