diff --git a/hwstamp_ctl.8 b/hwstamp_ctl.8 index e65071d..cece74f 100644 --- a/hwstamp_ctl.8 +++ b/hwstamp_ctl.8 @@ -19,7 +19,7 @@ is a program used to set the hardware time stamping policy at the network driver level with the .B SIOCSHWTSTAMP .BR ioctl (2). -The +The .I tx-type and .I rx-filter diff --git a/phc2sys.8 b/phc2sys.8 index c08952a..578d4ab 100644 --- a/phc2sys.8 +++ b/phc2sys.8 @@ -63,7 +63,7 @@ should be already close to the correct time before is started or the .B \-s option should be used too. This option can be used only with the system clock as -the slave clock. +the slave clock. .TP .BI \-s " phc-device" Specify the master clock by device (e.g. /dev/ptp0) or name (e.g. CLOCK_REALTIME @@ -75,7 +75,7 @@ seconds, which cannot be fixed with PPS alone. .BI \-i " interface" Similar to the .B \-s -option, but specified by the interface which provides the master clock. +option, but specified by the interface which provides the master clock. .TP .BI \-c " phc-device" Specify the slave clock by device (e.g. /dev/ptp1) or name. The default is diff --git a/phc2sys.c b/phc2sys.c index 43da581..058feaa 100644 --- a/phc2sys.c +++ b/phc2sys.c @@ -220,7 +220,7 @@ static int do_pps_loop(struct clock *clock, int fd, if (!read_phc(src, clock->clkid, n_readings, &phc_offset, &phc_ts)) return -1; - + /* Convert the time stamp to the PHC time. */ phc_ts -= phc_offset;