clock: prepend port number to grandmaster notice

Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com>
master
Hubert Feurstein 2019-07-31 17:57:15 +02:00 committed by Richard Cochran
parent ba3705a0f0
commit f2aac1b30e
1 changed files with 2 additions and 1 deletions

View File

@ -1790,7 +1790,8 @@ static void handle_state_decision_event(struct clock *c)
event = EV_NONE;
break;
case PS_GRAND_MASTER:
pr_notice("assuming the grand master role");
pr_notice("port %d: assuming the grand master role",
port_number(piter));
clock_update_grandmaster(c);
event = EV_RS_GRAND_MASTER;
break;