Correct the signature of the legacy system offset measurement method.

The sysoff_measure() function gained an additional parameter some time
ago, but the legacy method for older kernels without PTP_SYS_OFFSET was
overlooked.  This patch brings the legacy method up to date again.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2019-12-22 08:26:48 -08:00
parent e20d8228f9
commit a920c13413
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ int sysoff_probe(int fd, int n_samples)
#else /* !PTP_SYS_OFFSET */
int sysoff_measure(int fd, int n_samples,
int sysoff_measure(int fd, int method, int n_samples,
int64_t *result, uint64_t *ts, int64_t *delay)
{
return SYSOFF_COMPILE_TIME_MISSING;