From a920c134137a7dc1f703b7431add823065ef7ceb Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Sun, 22 Dec 2019 08:26:48 -0800 Subject: [PATCH] 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 --- sysoff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysoff.c b/sysoff.c index b993ee9..05d2ed6 100644 --- a/sysoff.c +++ b/sysoff.c @@ -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;