pmc: print cumulativeScaledRateOffset as offset.

Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
master
Miroslav Lichvar 2014-02-21 11:08:35 +01:00 committed by Richard Cochran
parent 7d773a9b93
commit c0fd772974
1 changed files with 1 additions and 1 deletions

2
pmc.c
View File

@ -381,7 +381,7 @@ static void pmc_show(struct ptp_message *msg, FILE *fp)
IFMT "gmIdentity %s",
tsn->master_offset,
tsn->ingress_time,
1.0 + (tsn->cumulativeScaledRateOffset + 0.0) / P41,
(tsn->cumulativeScaledRateOffset + 0.0) / P41,
tsn->scaledLastGmPhaseChange,
tsn->gmTimeBaseIndicator,
tsn->lastGmPhaseChange.nanoseconds_msb,